Goku wants to visit Andromaeda galaxy which is 2 million light years away from earth. If it takes 30 years in the frame of the spaceship to travel to Andromeda from earth, what should be the speed of the spaceship? Assume that the spaceship travels at constant speed

To determine the speed of the spaceship needed to travel to the Andromeda galaxy, we can start by using the equation:

Speed = Distance / Time

In this case, the distance is given as 2 million light years, and the time is given as 30 years.

However, since the distance is measured in light years, and the time is measured in years, it's important to convert the distance and time into a consistent unit.

We know that the speed of light is approximately 299,792,458 meters per second. By multiplying this by the number of seconds in a year (approximately 31,536,000 seconds), we can convert light years to meters:

2 million light years * 9.461 × 10^15 meters/light year = 1.892 × 10^22 meters

Now that we have the distance in meters and time in seconds (30 years * 31,536,000 seconds/year), we can calculate the speed of the spaceship:

Speed = 1.892 × 10^22 meters / (30 years * 31,536,000 seconds/year)
Speed ≈ 2.004 x 10^12 meters per second

Therefore, to travel to the Andromeda galaxy in 30 years, the spaceship would need to travel at a speed of approximately 2.004 x 10^12 meters per second.