Difference between revisions of "Analysis of a simple harmonic oscillator"
From Department of Theoretical and Applied Mechanics
m |
m |
||
Line 5: | Line 5: | ||
</math> | </math> | ||
− | Here is the program | + | Here is the program plotting the velocity of a mass on a linear spring. For starters to get this dependency. |
− | + | The Hooke's law has the form: | |
− | |||
::<math> | ::<math> | ||
F = - Cu, | F = - Cu, | ||
Line 16: | Line 15: | ||
</math> | </math> | ||
− | + | Dividing by <math>m</math> and multiplying by <math>\dot u</math> we arrive at: | |
::<math> | ::<math> | ||
\ddot u \dot u + \omega^2 \dot u u = 0, \quad \omega_0 \MYdef \sqrt{\frac{C}{m}}, | \ddot u \dot u + \omega^2 \dot u u = 0, \quad \omega_0 \MYdef \sqrt{\frac{C}{m}}, | ||
Line 29: | Line 28: | ||
</math> | </math> | ||
− | + | By introducing notation | |
::<math>\frac{\dot u}{\omega} = y, \quad u = x</math>. | ::<math>\frac{\dot u}{\omega} = y, \quad u = x</math>. | ||
− | We | + | We obtain: |
<math> y^2 + x^2 = 0 </math>. | <math> y^2 + x^2 = 0 </math>. | ||
− | |||
− | |||
{{#widget:Iframe |url=http://tm.spbstu.ru/htmlets/Tcvetkov/Spring/New_spring_v1.3_no_constructor/draw_spring.html |width=830 |height=550 |border=0 }} | {{#widget:Iframe |url=http://tm.spbstu.ru/htmlets/Tcvetkov/Spring/New_spring_v1.3_no_constructor/draw_spring.html |width=830 |height=550 |border=0 }} | ||
− | + | Developers: [[D.V. Tsvetkov]], [[A.M. Krivtsov]]. | |
− | [[Category: Virtual laboratory]] | + | <!--[[Category: Virtual laboratory]] |
[[Category: Programming]] | [[Category: Programming]] | ||
− | [[Category: JavaScript]] | + | [[Category: JavaScript]]--> |
Revision as of 01:21, 9 June 2016
Here is the program plotting the velocity of a mass on a linear spring. For starters to get this dependency. The Hooke's law has the form:
Dividing by
and multiplying by we arrive at:By introducing notation
- .
We obtain:
.
Developers: D.V. Tsvetkov, A.M. Krivtsov.