Skip to content
Discussion options

You must be logged in to vote

This period is correct assuming each spring has stiffness $k$,

$P=2\pi\sqrt{\frac{mg+2kr}{2kg}}$

If you consider the total stiffness of the x2 springs as say $k_{eff}$, then
$P=2\pi\sqrt{\frac{mg+k_{eff}r}{k_{eff}g}}$

In the problem2, the mass in the question is 1kg but in the code it is written as 0.1, which one is correct?

$m = 1~kg$ so you can change the code to match,

m = 1 # kg

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@cooperrc
Comment options

Answer selected by Amir-M-Vahedi
@Amir-M-Vahedi
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants