Projectile motion with aerodynamic drag

A projectile of mass "m" is launched from ground level at an angle of "theta" above the horizontal and with an initial speed "v". The flight of the projectile is resisted by an aerodynamic drag force modeled as uv^2, where "v" is the speed of the projectile and "u" is the drag coefficient.

Find the maximum altitude "h" reached by the projectile and the horizontal distance "d" it travels before striking the ground.