A planet is located at (-2e10, 4e10, -6e10) m. A star is located at (3e10, -7e10, 8e10) m.
(a) What is $\vec{r}$, the vector from the star to the planet?
$\vec{r}$ = (-5e10, 1.1e11, -1.40e11) m
(b) What is the magnitude of $\vec{r}$?
$|\vec{r}|$ = 1.849e11 m
(c) What is $\hat{r}$, the unit vector (vector with magnitude 1) in the direction of $\vec{r}$?
$\hat{r}$ = (-0.2704, 0.5949, 0.7572)