Asumiré: sen, cos y tg como sen(α), cos(α), y tg(α) respectivamente, siendo α el angulo de salida respecto a la horizontal y la velocidad inicial v0 simplemente como v
Origen de coordenadas: por la vertical que pasa por el cañón al nivel del mar.
Ox positivo hacia el navío, Oy psitivo hacia arriba.
x(t) = v cos t + x0 => t = (x(t) - x0)/(v cos) => t = Δx/(v cos)
y(t) = ½gt2 + v sen t + y0 => y(t) - y0 = ½gt2 + v sen t => Δy = ½gt2 + v sen t
Δy = ½g(Δx/(v cos))2 + v sen (Δx/(v cos)) = gΔx2 /(2v2) 1/cos2 + Δx tg = gΔx2 /(2v2) (1 + tg2 ) + Δx tg = gΔx2 /(2v2) + gΔx2 /(2v2) tg2 + Δx tg
Re ordenando e igualando a 0:
gΔx2/(2v2) tg2 + Δx tg + gΔx2 /(2v2) - Δy = 0
Llamaremos:
gΔx2 / (2v2) = a => a = -9.8*(1254)2 / (2*(300)2 ) = -85.61
Δx = b => b = 1254 ( x0 = 0 , xf = 1254 )
gΔx2 / (2v2) - Δy = c => c = a + 35 = -50.61 ( y0 = 35 , yf = 0 => Δy = -35)
a tg2 + b tg + c = 0 => tg = (-b ±√(b2 - 4ac))/(2a) => tg = (-1254±1247.07)/(-171.23) => tg1 = 0.0405 tg2 = 14.61
=> α1 = arctan(0.0405) = 2.32° y α2 = arctan(14.61) = 86.08°
Tiempo de vuelo para α1 :
y(t) = ½gt2 + v sen(α1) t + y0 = 0 => t1 = -1.71 s , t2 = 4.18 s
=> t = 4.18 s
Tiempo de vuelo para α2 :
y(t) = ½gt2 + v sen(α2) t + y0 = 0 => t1 = -0.117 s , t2 = 61.2
=> t = 61.2 s