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 θ |
| Y = V0 • sin θ |
|
| ||
|
| 2 |
| |||
• T | • T - | 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 |
|
|
|
Deg | C/10 | Yscl | |
Print "V0 (M S),θ ,T(S) | B/10 | Xscl | |
Print "Input V0 | 0 | Xmin | |
Input V | 0 | Ymin |
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.
2 V sin 45/9.8 | A | B | Xmax |
|
| ||||
V2/9.8 | B |
| C | Ymax |
|
| |||
V2/19.6 | C |
| For D, 0, T, T/100 |
| |||||
Print "HMAX= |
| V cos θ | D | X |
| ||||
Print C |
|
| V | sin θ | Y | ||||
Print "LMAX= |
| Pnt0N(X,Y) |
|
| |||||
Print B |
|
| NEXT |
|
|
| |||
Print "TMAX= |
| Wait |
|
|
| ||||
Print A |
|
| Label TX |
|
| ||||
Wait |
|
|
| Print "Input TX |
| ||||
Label THETA |
| Input Z |
|
|
| ||||
Input θ |
|
| If Z≤ 0 Goto THETA |
| |||||
If θ | ≤ | 0 Goto THETA | If Z> T Goto THETA |
| |||||
If θ | > | 90 Goto THETA | V cos θ | Z | X |
| |||
V2 | (sin θ )2/19.6 | H | V | sin θ | Y | ||||
V2 | sin (2θ )/9.8 | L | Print "X= |
|
| ||||
2 | V | sin θ /9.8 | T | Print X |
|
|
| ||
Print "H= |
| Print "Y= |
|
| |||||
Print H |
|
| Print Y |
|
|
| |||
Print "L= |
| Wait |
|
|
| ||||
Print L |
|
| Line(0,Y,X,Y) |
| |||||
Print "T= |
| Line(X,0,X,Y) |
| ||||||
Print T |
|
| Wait |
|
|
| |||
Wait |
|
|
| Goto TX |
|
|
|
Display of graph
Returns to entry of time.
25