This function is used to evaluate the max height and the max
distance of a projectile and plot the trajectory.
Inputs
v0 : The initial velocity in m/s
theta: The angle at which the projectile is fired in degrees
Outputs
hmax : The maximum hieght in m
dmax : The maximum distance in ...