What is the formula for converting polar coordinates to rectangular coordinates?

$y = r \sin \theta , x = r \cos \theta$
$y = r \sin \theta , x = r \cos \theta$