Calculating Parabolic Motion
Display on a graph the altitude change and the horizontal distance over a period of time when an object is thrown at initial velocity V0 and angle θ, and find the horizontal distance and altitude after t seconds. Specify the angle in Deg.
Calculation |
| 1 | y |
|
X = V0 • cos θ • T | Y = V0 • sin θ • T - |
| ||
2 |
| |||
2 gT |
|
| ||
Initial velocity | V0 [m/s] |
|
|
|
Angle | θ [˚ ] |
| V0 |
|
Gravitational acceleration | g = 9.8 [m/s2] |
|
| |
Time | T [s] |
| θ | x |
|
|
FLOWCHART
Start
Entry of initial velocity Enter velocity when thrown.
PROGRAMME LIST(REAL MODE)
Title : PARABOLA |
|
|
Print "V0 (M/S),θ,T(S) | 0 | Xmin |
Print "Input V0 | 0 | Ymin |
Input V | B | Xmax |
2 V sin 45/9.8 A | C | Ymax |
Calculation and display from released angle 45˚
| THETA | |
| Entry of released angle | |
Y | θ≤ 0 or θ> 90 |
|
|
| |
| N |
|
| Calculation and |
|
| display of values |
|
| for entered angle |
|
| Range setting |
|
LOOP1 |
| |
| Calculation and |
|
| plotting of graph |
|
| D = (D + T/100) |
|
Y | D ≤ T |
|
|
| |
| N | TX |
| Entry of time |
|
| Z ≤ 0 or Z > T | Y |
|
| |
| N |
|
Calculation and
display of distance and altitude after time Z.
Highest altitude, throwing distance (horizontal distance), and time (duration of flight) in case of released angle 45˚ calculated and displayed.
Angle for throwing entered.
Entered angle less than or equal to 0˚ or larger than 90˚?
Highest altitude, throwing distance (horizontal distance), and time (duration of flight) for entered angle calculated and displayed.
Range of graph set based on values for released angle 45˚.
Graph (parabola) calculated and plotted.
Elapsed time counted.
Calculation and plotting repeated until D (time elapsed) reaches T (duration of flight).
Entered time less than or equal to 0 or more than T?
Altitude and distance after entered time elapses from throwing calculated and displayed.
V2/9.8 | B |
| 0 | D |
|
|
|
| |
V2/19.6 | C |
| Label LOOP1 |
|
|
| |||
Print "HMAX= |
| V cos θ D | X |
|
|
| |||
Print C |
|
| V | sin θ | 9.8 | D2) | Y | ||
Print "LMAX= |
| Pnt0N(X,Y) |
|
|
|
| |||
Print B |
|
| D+(T/100) | D |
|
|
| ||
Print "TMAX= |
| If D≤T Goto LOOP1 |
|
| |||||
Print A |
|
| Wait |
|
|
|
| ||
Wait |
|
| Label TX |
|
|
|
| ||
Label THETA |
| Print "Input TX |
|
|
| ||||
Input θ |
|
| Input Z |
|
|
|
| ||
If θ ≤ 0 Goto THETA | If Z≤0 Goto THETA |
|
| ||||||
If θ > 90 Goto THETA | If Z>T Goto THETA |
|
| ||||||
V2 | (sin θ)2/19.6 | H | V | cos θ Z | X |
|
|
| |
V2 | sin (2θ)/9.8 | L | V | sin θ | 9.8 | Z2) | Y | ||
2 | V sin θ/9.8 | T | Print "X= |
|
|
|
| ||
Print "H= |
| Print X |
|
|
|
| |||
Print H |
|
| Print "Y= |
|
|
|
| ||
Print "L= |
| Print Y |
|
|
|
| |||
Print L |
|
| Wait |
|
|
|
| ||
Print "T= |
| Line(0,Y,X,Y) |
|
|
| ||||
Print T |
|
| Line(X,0,X,Y) |
|
|
| |||
Wait |
|
| Wait |
|
|
|
| ||
C/10 | Yscl |
| Goto TX |
|
|
|
| ||
B/10 | Xscl |
| 0000 |
|
|
|
|
Display of graph
Returns to entry of time.
25