tiro parabólico
Publicado por Luis (16 intervenciones) el 15/11/2018 17:21:19
Porfavor necesito ayuda
Xmax=8
X5=1]

Xmax=8
X5=1]

Valora esta pregunta


0
clear
close all
hold on
x=0:800;
xmax=8;
x5=1;
g=9.8;
V0=10*xmax+x5;
for angulo=5:5:85
funcion=@(x) (x*tand(angulo)-(g*x.^2)/(2*(V0)^2*cosd(angulo)^2));
y=funcion(x);
plot(x,y)
axis([x(1) x(end) 0 350])
grid on
pause(0.5)
end
hold off
>>movimiento_parabolico_a