Calculate the escape velocity from a white dwarf and a neutron star. Assume that both the white dwarf and the neutron star is 1 solar mass. Let the white dwarf’s radius be $10^{4}$ kilometres and the neutron star’s radius be 10 kilometres.
escape velocity $= \sqrt{\frac{2GM}{R}}$
'G' is gravitational constant (6.733 minus ¹¹) 'M' is mass 'R' is radius
So I tried inserting the values for the white dwarf where in
R is $10^{4}$ G is $6.67\times10^{-11}$ and M is 1 because 1 solar mass
and the answer is $1.15\times10^{-9}$
I'm pretty not that much sure if I answered this one correctly or not, because I'm in doubt with the 1 solar mass that I've got, do I still need to convert some things in here?
The key issue here is not math, it is units. Your equation for escape velocity seems to be correct, as per Wikipedia.
$$v_\text{escape}=\sqrt{2GM \over R}=\sqrt{{2\left(6.674\times 10^{-11} {\text{m}^3\over{\text{kg}\cdot s^2}}\right)\left(1 M_{\odot} \right)}\over{\left(1\times 10^4 \text{ km}=1\times10^7 \text{ m}\right)}}$$ This converts to: $$3.653\times 10^{-9} \sqrt{\mathbf{{m^3 M_{\odot}}\over{\text{m}\cdot \text{kg} \cdot \text{s}^2}}}$$ This is technically correct, but we can convert solar mass ($M_\odot$) to $\text{kg}$ by the following conversion: $1 M_\odot = 1.989\times 10^{30} \text{ kg}$.
Note that we will multiply the number by the square root of the relationship, since we factored out the square root. So the final answer is: $$5.152\times 10^6 \sqrt{\mathbf{\text{m}^2 \over \text{s}^2}}$$ $$5.152\times 10^{6} \mathbf{m\over{s}}$$