double distance (double angle, int mps, double earth_gravity)
{
double earth_distance;
double speed_sqr = mps * mps;
earth_distance = speed_sqr * sin(2*angle) / earth_gravity;
return earth_distance;
}
its supposed to come out at = 3831.57
intead it ends up being =3155.52
anyone know what im doing wrong?