![Calculating Simple Harmonic Oscillation](/images/new-backgrounds/123574/12357429x1.webp)
Calculating Simple Harmonic Oscillation
Enter period, amplitude and time to calculate displacement at specified time, acceleration, angular velocity, and velocity. Also, display the changes during the entered time period on a graph.
Calculation |
|
|
|
|
|
|
|
|
|
|
angular velocity : ω | = | 2π | displacement : x = A+ sin (ω | t) |
|
| ||||
acceleration : a = |
| T | velocity : v = A+ ω | + cos (ω |
|
|
|
| ||
2 |
| t) |
|
|
| |||||
+ x |
|
|
| |||||||
A : amplitude |
|
| x | A |
|
|
| v0 | v |
|
t : time [sec] |
|
|
|
|
|
| ||||
|
|
| ω | t | A | ω | t | a | x | |
T : period [sec] |
|
|
| |||||||
|
| 0 | 2π |
|
|
|
|
|
| |
ω : angular velocity [rad/sec] |
|
|
|
|
|
|
| |||
|
|
|
|
|
|
|
|
|
FLOWCHART
Start
Entry of period and amplitude
PROGRAMME LIST(REAL MODE)
Title : OSCILLAT
Rad
Print "Input PERIOD
Input P
P F
CALC
Entry of time
Calculation of
angular velocity, etc.
Angular velocity, displacement, acceleration and velocity calculated.
W = angular velocity
H = displacement
B = acceleration,
V = velocity
Print "Input AMPLITUDE Input A
A D
Label CALC Print "Input TIME Input T
T E
2 π /F W
D sin (W E) H
D W cos (W E) V
Print "ANGULAR VELOCITY Print W
Display of calculation result.
Calculation of
range and scale
Graph display
Display clear
Calculation result of angular velocity, displacement, acceleration and velocity displayed.
Range set and graph displayed. Function: Y = D sin (W X)
X is time increase.
Xmin ... 0, Xmax ... E, Xscl ... E/10 Ymin ...
Text and graph display cleared.
Print "MAGNITUDE Print H
Print "ACCELERATION Print B
Print "VELOCITY Print V
Wait
E/10 X scl D/5 Y scl
0 Xmin:E Xmax
ClrT
ClrG
Goto CALC
8