Oscillation with friction
A block of mass (m) attached to a spring (constant k) is free to move on an horizontal surface with friction (constant μ).
-----> Choose the initial position of the block using arrow keys (Right/Left)
-----> Choose the variables k, m and μ
-----> Click on the block to start the motion and watch the graphs
(position x, time t) and (velocity v, time t).
I used "cloning" to draw a variable and "realistic" spring and the Newton's Law of motion. To solve the differencial equation i used the technique of Newton-Feynman....