solve h=((v^2)*(sin(t)^2))/2g, d=((v^2)/g)*sin(2*t) for v and t