Skip to content
Advertisement

Damping harmonic oscillation code with python

I don’t know that how make the code the three graph in damping harmonic oscillation model, [X - t(time)], [V(velocity) - t(time)], [a(acceleration) - t(time)] graph

i can make the [X - t(time)] graph but i don`t know how to make another graphs..

JavaScript

Advertisement

Answer

Why can’t you just take the derivative of X to get V and A?

JavaScript

Gives,

enter image description here

User contributions licensed under: CC BY-SA
7 People found this is helpful
Advertisement