Question: Assignment ( Book Ref.: Sec. 2 . 6 and 3 . 7 ) Write a VPython program that will simulate the motion of a spring

Assignment(Book Ref.: Sec. 2.6 and 3.7)
Write a VPython program that will simulate the motion of a spring-mass system un-
dergoing the force of gravity with respect to some fixed point. Use Hooke's Law, a spring
constant of 4Nm, a mass of 0.5 kg , and an equilibrium spring length of 1 m .
Plot the following quantities:
Plot the velocity as a function of time.
2.1. Answer the following:
Which variables does the period depend on? Test different values for the amplitude,
mass, and spring constant.
Do these values agree with the theoretical values?
T=2mk2
Write a report that contains all the relevant information.
Assignment ( Book Ref.: Sec. 2 . 6 and 3 . 7 )

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!