We know from experience that most oscillatory movements that occur in nature gradually decrease until the...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
We know from experience that most oscillatory movements that occur in nature gradually decrease until the displacement becomes zero; this type of movement is said to be damped and the system is said to be dissipative rather than conservative. In this project we are going to write a Python program that simulates the motion of a damped harmonic oscillator. For small speeds, a reasonable approximation is to assume that the drag force is proportional to the first power of the speed. In this case the equation of motion of the damped harmonic oscillator can be written as dx The drag coefficient y is a measure of the magnitude of the drag term. Note that from the equation of motion the drag force opposes the motion. In this project, you are going to simulate the behavior of the damped harmonic oscillator. a) Write a Python program that incorporates damping effects in a harmonic oscillator (you must use the 4th order Runge-Kutta method to solve the differential equation), and graph position and velocity as functions of time. Describe the qualitative behavior of x (t) and v (t) for We = 3 and V = 0.5 with x (t = 0) = 1 and v (t = 0) = 0. b) The period of the movement is the time between successive maxima of x (t). Compute the period and the corresponding angular frequency and compare with the case without damping. Is the period longer or shorter? Make additional runs for Y = 1, 2, and 3. Does the period with more damping increase or decrease? Why? c) The amplitude is the maximum value of x during a cycle. Compute the relaxation time T, the time it takes for the amplitude of an oscillation to decrease by 1/ e = 0.37 of its maximum value. Is the value of t constant throughout the motion? Computer for the values of y considered in part (b) and discuss the qualitative dependence of t on y. d) Compute the total energy as a function of time for the values of y considered in part (b). If the decrease in energy is not monotonic, explain? e) Compute the time dependence of x (t) and v (t) for Y = 4, 5, 6, 7, and 8. Is the oscillatory motion for all y? How can you characterize the decay? For fixed 0, the oscillator is said to be critically damped at the smallest value of y for which the decay to equilibrium is monotonic. For what value of y is the motion monotonic for Wo=4 and Wo = 2? For each value of wo, compute the value of y for which the system reaches equilibrium most quickly. f) Compute the phase diagram for wo = 3 and y = 0.5, 2, 4, 6 and 8. Why is the path in the phase space converges to x = 0 and v=0? This point is known as an attractor. Are the qualitative characteristics of the phase diagram independent of Y? We know from experience that most oscillatory movements that occur in nature gradually decrease until the displacement becomes zero; this type of movement is said to be damped and the system is said to be dissipative rather than conservative. In this project we are going to write a Python program that simulates the motion of a damped harmonic oscillator. For small speeds, a reasonable approximation is to assume that the drag force is proportional to the first power of the speed. In this case the equation of motion of the damped harmonic oscillator can be written as dx The drag coefficient y is a measure of the magnitude of the drag term. Note that from the equation of motion the drag force opposes the motion. In this project, you are going to simulate the behavior of the damped harmonic oscillator. a) Write a Python program that incorporates damping effects in a harmonic oscillator (you must use the 4th order Runge-Kutta method to solve the differential equation), and graph position and velocity as functions of time. Describe the qualitative behavior of x (t) and v (t) for We = 3 and V = 0.5 with x (t = 0) = 1 and v (t = 0) = 0. b) The period of the movement is the time between successive maxima of x (t). Compute the period and the corresponding angular frequency and compare with the case without damping. Is the period longer or shorter? Make additional runs for Y = 1, 2, and 3. Does the period with more damping increase or decrease? Why? c) The amplitude is the maximum value of x during a cycle. Compute the relaxation time T, the time it takes for the amplitude of an oscillation to decrease by 1/ e = 0.37 of its maximum value. Is the value of t constant throughout the motion? Computer for the values of y considered in part (b) and discuss the qualitative dependence of t on y. d) Compute the total energy as a function of time for the values of y considered in part (b). If the decrease in energy is not monotonic, explain? e) Compute the time dependence of x (t) and v (t) for Y = 4, 5, 6, 7, and 8. Is the oscillatory motion for all y? How can you characterize the decay? For fixed 0, the oscillator is said to be critically damped at the smallest value of y for which the decay to equilibrium is monotonic. For what value of y is the motion monotonic for Wo=4 and Wo = 2? For each value of wo, compute the value of y for which the system reaches equilibrium most quickly. f) Compute the phase diagram for wo = 3 and y = 0.5, 2, 4, 6 and 8. Why is the path in the phase space converges to x = 0 and v=0? This point is known as an attractor. Are the qualitative characteristics of the phase diagram independent of Y?
Expert Answer:
Related Book For
Auditing A Practical Approach
ISBN: 9780730382645
4th Edition
Authors: Robyn Moroney, Fiona Campbell, Jane Hamilton
Posted Date:
Students also viewed these programming questions
-
a) Outline the Rostow Stages Theory of Economic Development. (10 Marks) b) Discuss the criticisms of linear models of Economic Development (5Marks)
-
You are required to write a Python program that will manage character (heroes and villain) information. Character (hero and villain) information will be stored in a text file that will be read in...
-
Apply the principles of one of the quality programs you have researched from your readings to a Middle Eastern organization of your choice. Include the following information in paper: Background...
-
Farley, Inc., is a manufacturer that produces customized computer components for several wellknown computer-assembly companies. Farleys latest contract with CompWest.com calls for Farley to deliver...
-
Prove that for a uniform-cross-section beam with simple supports at the ends loaded by a single concentrated load, the location of the maximum deflection will never be outside the range of 0.423l x...
-
Tony and Peggy Sue graduated from a university in Texas last May. She received a degree in elementary education, and he graduated from the culinary school. They both now work in the Dallas area....
-
If the 60-mm diameter shaft is subjected to an axial force of 5 kN, determine the average shear stress developed in the shear plane where the collar A and shaft are connected. 5 kN 60 mm 100 mm 2.5...
-
Calculate the critical ratios for the following activities and indicate which activities are probably on target and which need to be investigated. Comment on eachactivity. ActualScbeduled Budgeted...
-
Explain the importance of thermodynamic modeling in process simulation. How do advanced equations of state, like the Peng-Robinson or Soave-Redlich-Kwong models, influence the prediction of phase...
-
In December, Northern Kiteboarding magazine collected $80,000 for subscriptions for the next calendar year. The company collects cash in advance and then downloads the magazines to subscribers each...
-
a technical supplier tests four generators by measuring their output voltages at three different instances for break-in purposes. Design a program that uses a nested loop to enter each generator's...
-
Find a solution to the problem that goes beyond just minimizing cost. Prepare a short write-up that describes the process you went through to find your solution and that justifies why you think it is...
-
The current economic model is largely based on the conscious political and economic decisions of leaders from the 1960's. Boyer's text explains the specific decisions made by Governor Ralph...
-
Flounder Ltd., who owes Pharoah Corp. $603,000 in notes payable, is in financial difficulty. To eliminate the debt, Pharoah agrees to accept from Flounder land having a fair value of $456,800 and a...
-
Select two consecutive days (48 hours) where you will unplug from technology and not use the following electronic means for leisure: cell phones, television, internet, ipods, mp3 players, game...
-
Acknowledging that one size does not fit all applies to our contemporary workplace as it relates to the leadership style employed by organizational leaders. What complicates the need for an...
-
Differential between Comparison of two stroke cycle and four stroke cycle engines.
-
An Atomic Energy Commission nuclear facility was established in Hanford, Washington, in 1943. Over the years, a significant amount of strontium 90 and cesium 137 leaked into the Columbia River. In a...
-
What matters does an auditor communicate at the end of an audit to those charged with governance? Why are these matters important?
-
Alyssum Ltd has been a client of Geoff & Aleida Partners for many years. You are an audit senior and have been assigned to the Alyssum audit for the first time for the financial year end 30 June...
-
Reliable Paper Ltd provides cardboard, paper and plastic packaging materials to a large number of manufacturers and distributors in all states. The cardboard and paper division is a well-established...
-
Theory is the foundation upon which the house of practice is built. How would you interpret this statement and relate it to social entrepreneurship?
-
What is Kinvolved? What customer problem does it solve? What success have you had so far?
-
Which opportunity recognition tool discussed in this chapter resonates most for you, and why?
Study smarter with the SolutionInn App