Programación Vx
La unidad del ángulo de entrada es "Entrada de muestra: 30° 30"
#¿Incluir? <stdio.h>?
#include & ltmath.h & gt
int? principal()?
{?
¿Flotante? v, vx, vy, t;
¿Flotante? x, y;
int? Yo;
¿Flotando? a;
Printf("Ingrese el ángulo de lanzamiento A y la velocidad inicial V:");
scanf("%f%f ", & amp uno, & amp cinco)
VX = v * cos(a* 3.14159265359/180);
vy = v * sin(a * 3.14159265359/180); 2 * vy/9.8;
Printf("Tiempo de vuelo t=%.3fs\n ",t);
for(I = 1;i<=10;i++)
{
x = t * I/10 * VX;
y = vy * t * I/10-4.9 * t * I/10 * t * I/10;
printf("x%d=%.3f ",I,x);
printf("y%d=%.3f\n " , Yo, y);
}
}