Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

You w use an already written program to model a Springcmass system. The interaction that you are modeling includes a small correction to the usual

image text in transcribedimage text in transcribed
You w use an already written program to model a Springcmass system. The interaction that you are modeling includes a small correction to the usual spring force. This type of springcmass system is often called an anhannonlc oscillator. For this question, you will add code that computa the spring force with the anharmonic correction, updates the momentum, and computes the magnitudes of the parall land perpendicular components of the net force vector. Yau should download this program and run it: Annarmonicgepringgvuhwagshellgglowecrlpt [Rightccliclg select "Save Llnk 135.. t) Your program should carry out the necessary force calculations and momentum update for the spring force with the anharmonic correction and compute the magnitudes of the parallel and perpendicular components of the net force. Necessary information for the momentum update The magnitude of this spring force is given by: F = Ices + ts3 sonny This force points opposite the direction of the stretch. The small correction, ts3, cludes the small effect of the spring exceeding the elastic llmlt. This is polnt where the force is not llnearly proportlonal to the stretch which is true for most realcworld materlals. Befnre answering the questions below, write the line; of code to compute the spring force with the anharmonic correction, update the momentum, and compute the magnitudes of the parallel and perpendicular components of the net force. Tat ease , Make sure that your program produces these results before trying the Graded ngtion. (1) After downloading this program, set the initial conditions of your computer model to the following: Relaxed length ofsprlng, Lo: 03 m Sprlng constant. kal 12 MM Anhatmonlc coefcient, 6' n 7054 N/mAz Mass of hanging mass: 0.2703 kg Time step (deltal): sees s lnitlal positlon ofthe hanging mass. rn lnitlal veloclty of the hanglng mass: m/s Model the motion until E 35005 5 have passed. Make sure that your model is prin ng the hanging mass's final position, final velocity, and the components of the net force acting on the hanging mass after the program is done running. If you are unable to get your program to wurk for the Test Case, you should go to the help session or contact your instructor for help. final position of the hanging mass: m final velocity of the hanging mass' m/s final magnitude or the parallel component of the net force 2.749 N final magnitude of the perpendlcular component of the net force: 2.539 N Graded Question , Make sure that your code works for the Test Case before solving this question. (2) After downloading this program, set the initial conditions of your computer model to the following: Relaxed length of spring, Lo: 0.3 m Spring constant, : 12 N/m Anharmonic coefficient, c: 0.8626 N/m^2 Mass of hanging mass: 0.1585 kg Time step (deltat): 5e-5 s Initial position of the hanging mass: m Initial velocity of the hanging mass: m/s Model the motion until 9.72005 s have passed. (a) Final position of the hanging mass: , 0'> m (b) Final velocity of the hanging mass: , 0> m/s (c) Magnitude of the parallel component of the net force: N (d) Magnitude of the perpendicular component of the net force: N 414517

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Fundamentals of Physics

Authors: Jearl Walker, Halliday Resnick

8th Extended edition

471758019, 978-0471758013

More Books

Students also viewed these Physics questions