Hi everyone, I'm a programmer, I'm doing a program for the simulation of some experimental data, the data is recorded by a device and that the register is the acceleration components along the (x, y, z), time (starting from 0, and aumentanto of each recording delta t), orientation (azimuth, roll, pitch),

my goal is to be able to extrapolate a graph (elevation, time), the data is recorded by a device inside a passenger compartment, with the y-axis pointing upwards. I read a lot about projectile motion, I think it's what I have to simulate substantially.

So for the calculation of the elevation, I would have thought to apply this formula:

y = Viy * t + 0.5 * aiy * t2

I thought to derive the speed through the Euler method, since dispose of acceleration and time data.

From this speed I should now extrapolate the vertical and horizontal speed, and if I understand correctly, the formula should be:

Viy =Vi * sin (Φ), the problem for me is to calculate precisely the angle Φ.

There is a way to calculate this angle?

my goal is to be able to extrapolate a graph (elevation, time), the data is recorded by a device inside a passenger compartment, with the y-axis pointing upwards. I read a lot about projectile motion, I think it's what I have to simulate substantially.

So for the calculation of the elevation, I would have thought to apply this formula:

y = Viy * t + 0.5 * aiy * t2

I thought to derive the speed through the Euler method, since dispose of acceleration and time data.

From this speed I should now extrapolate the vertical and horizontal speed, and if I understand correctly, the formula should be:

Viy =Vi * sin (Φ), the problem for me is to calculate precisely the angle Φ.

There is a way to calculate this angle?

Last edited by a moderator: