The escape speed from a planet of mass 2.5×1024 kg is 7.0 km/s .What is the planet's radius?

I amusing v=sqr(2GM/r)

For G I am using 6.67*10^-11
and for M do I use 5.97*10^24

No, use 2.5*10^24 for M

To find the planet's radius using the given information, you can rearrange the escape speed equation and solve for the radius.

The escape speed equation is:
v = √(2GM / r)

Where:
v = escape speed (given as 7.0 km/s)
G = gravitational constant (given as 6.67 x 10^-11 N m^2/kg^2)
M = mass of the planet (given as 2.5 x 10^24 kg)
r = radius of the planet (we need to find this)

Rearranging the equation to solve for r, we have:
r = (2GM) / v^2

Plugging in the given values, we get:
r = (2 * (6.67 x 10^-11) * (2.5 x 10^24)) / (7.0 x 10^3)^2

Calculating this expression will yield the radius of the planet.