- #1
seao111
- 1
- 0
Hi I am trying to make a computer program that calculates when an object hits the ground (on a 2d plane) given a certain angle (Degrees), speed (m/s), and an optional offset for x and or y. Is there a single equation i can use to solve this?
Example Equation:
X(t)=20TCos(30)
Y(t)=8+((20TCos(30))-4.9T^2)
What is T when Y=0 given the offset of y+8??
The equation for solving without an offset i believe is:
T=(2Vsin(angle))/9.8
Example Equation:
X(t)=20TCos(30)
Y(t)=8+((20TCos(30))-4.9T^2)
What is T when Y=0 given the offset of y+8??
The equation for solving without an offset i believe is:
T=(2Vsin(angle))/9.8