Projectile Motion, Gravity, Parametrics

Click For Summary
SUMMARY

This discussion focuses on calculating the time of flight for a projectile on a 2D plane, given an angle, speed, and optional offsets. The correct equations for horizontal and vertical motion are X(t) = 20Tcos(30) and Y(t) = 8 + (20sin(30)T - 4.9T^2). The time T when the projectile hits the ground (Y=0) can be determined using the quadratic formula derived from the equation 4.9T^2 - 20sin(30)T - 8 = 0.

PREREQUISITES
  • Understanding of projectile motion principles
  • Familiarity with trigonometric functions (sine and cosine)
  • Knowledge of quadratic equations and the quadratic formula
  • Basic programming skills for implementing calculations
NEXT STEPS
  • Research the derivation of projectile motion equations
  • Learn how to implement the quadratic formula in programming languages
  • Explore the effects of different angles and speeds on projectile trajectories
  • Investigate numerical methods for solving equations in programming
USEFUL FOR

Students in physics, software developers creating simulation programs, and educators teaching concepts of projectile motion and kinematics.

seao111
Messages
1
Reaction score
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
 
Physics news on Phys.org
Your equation for the y distance is wrong. There should be a sine n there. If you want to find t you will have to solve the quadratic equation of the y distance. The time you have given is one solution to the quadratic equation when c is zero.

http://hyperphysics.phy-astr.gsu.edu/Hbase/traj.html#tra6
 
seao111 said:
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
As Kurdt said, one of those "cosines" should be "sine"; if the angle is the initial angle with the horizontal then the Y(t) term should involve sin(30) which is 1/2. cos(30)= sqrt(3)/2.

When Y= 0, 0= 8+ (20sin(30)T- 4.9T^2 which is the same as the quadratic equation
4.9T^2- 20sin(30)T- 8= 0. You can use the quadratic formula to solve that:
[tex]T= \frac{20sin(30)\pm\sqrt{(20sin(30))^2+ 4(4.9)(8)}}{2(4.9)}[/tex]
 

Similar threads

Replies
40
Views
3K
Replies
19
Views
3K
Replies
11
Views
2K
  • · Replies 38 ·
2
Replies
38
Views
4K
Replies
8
Views
3K
  • · Replies 2 ·
Replies
2
Views
3K
Replies
15
Views
3K
  • · Replies 14 ·
Replies
14
Views
2K
Replies
25
Views
3K
Replies
8
Views
2K