MAS212 Assignment #2: The damped driven pendulum

Similar documents
MAS212 Assignment #2: The damped driven pendulum

Chaotic motion. Phys 420/580 Lecture 10

Oscillatory Motion. Simple pendulum: linear Hooke s Law restoring force for small angular deviations. small angle approximation. Oscillatory solution

Oscillatory Motion. Simple pendulum: linear Hooke s Law restoring force for small angular deviations. Oscillatory solution

Chaotic motion. Phys 750 Lecture 9

1 SIMPLE PENDULUM 1 L (1.1)

Homework 2 Modeling complex systems, Stability analysis, Discrete-time dynamical systems, Deterministic chaos

Linear and Nonlinear Oscillators (Lecture 2)

Chapter 2: Complex numbers

Computational Physics (6810): Session 8

CHAOS -SOME BASIC CONCEPTS

PH 120 Project # 2: Pendulum and chaos

The Nonlinear Pendulum

I. THE PENDULUM. y 1 (t) = θ(t) (2) y 2 (t) = dθ(t) dt

1 SIMPLE PENDULUM 1 L (1.1)

Physics 235 Chapter 4. Chapter 4 Non-Linear Oscillations and Chaos

Coupled Oscillators. 1 Introduction. 2 Theory. PHY 300 Lab 2 Fall 2012

kg meter ii) Note the dimensions of ρ τ are kg 2 velocity 2 meter = 1 sec 2 We will interpret this velocity in upcoming slides.

To determine the value of g, the acceleration due to gravity, using a pendulum.

Faculty of Computers and Information. Basic Science Department

The Coupled Pendulum Experiment

Updated 2013 (Mathematica Version) M1.1. Lab M1: The Simple Pendulum

Nonlinear Control Lecture 1: Introduction

Physics 2001/2051 The Compound Pendulum Experiment 4 and Helical Springs

Question: Total. Points:

Lab 1: Damped, Driven Harmonic Oscillator

The phenomenon: complex motion, unusual geometry

Lab 1: damped, driven harmonic oscillator

Physics 141, Lecture 7. Outline. Course Information. Course information: Homework set # 3 Exam # 1. Quiz. Continuation of the discussion of Chapter 4.

1 Pushing your Friend on a Swing

HB Coupled Pendulums Lab Coupled Pendulums

PHY217: Vibrations and Waves

Laboratory Exercise 4 SIMPLE PENDULUM

NORMAL MODES, WAVE MOTION AND THE WAVE EQUATION. Professor G.G.Ross. Oxford University Hilary Term 2009

Physics 401. Classical Physics Laboratory.

Differential Equations Dynamical Systems And An Introduction To Chaos Solutions Manual Pdf

Coupled Electrical Oscillators Physics Advanced Physics Lab - Summer 2018 Don Heiman, Northeastern University, 5/24/2018

Vibrations and Waves Physics Year 1. Handout 1: Course Details

MATH 650 : Mathematical Modeling Fall, Written Assignment #3

Theoretical physics. Deterministic chaos in classical physics. Martin Scholtz

Physics 106b: Lecture 7 25 January, 2018

Chemistry 883 Computational Quantum Chemistry

Physics Mechanics. Lecture 32 Oscillations II

Analytical Mechanics ( AM )

CHALMERS, GÖTEBORGS UNIVERSITET. EXAM for DYNAMICAL SYSTEMS. COURSE CODES: TIF 155, FIM770GU, PhD

Oscillations. Simple Harmonic Motion (SHM) Position, Velocity, Acceleration SHM Forces SHM Energy Period of oscillation Damping and Resonance

H156/01 Mark Scheme June 20XX SPECIMEN MARKING INSTRUCTIONS

Oscillatory Motion. Solutions of Selected Problems

Lab 3: The Coupled Pendulum and a bit on the Chaotic Double Pendulum

Math 215/255 Final Exam (Dec 2005)

The Nonlinear Pendulum

Modeling and Experimentation: Mass-Spring-Damper System Dynamics

Solutions to Math 53 Math 53 Practice Final

Second quantization: where quantization and particles come from?

A simple electronic circuit to demonstrate bifurcation and chaos

28. Pendulum phase portrait Draw the phase portrait for the pendulum (supported by an inextensible rod)

Solutions 2: Simple Harmonic Oscillator and General Oscillations

Nonlinear Oscillators: Free Response

A plane autonomous system is a pair of simultaneous first-order differential equations,

BSc/MSci EXAMINATION. Vibrations and Waves. Date: 4 th May, Time: 14:30-17:00

Chapter 13 Lecture. Essential University Physics Richard Wolfson 2 nd Edition. Oscillatory Motion Pearson Education, Inc.

Problem Set 3 September 25, 2009

Homework 1 Solutions Probability, Maximum Likelihood Estimation (MLE), Bayes Rule, knn

Chapter 15 - Oscillations

Modeling the Duffing Equation with an Analog Computer

Waves & Oscillations

Introductory Physics. Week 2015/05/29

Driven, damped, pendulum

BSc/MSci MidTerm Test

HOMEWORK #4: LOGISTIC REGRESSION

This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 4.0 License.

HOMEWORK #4: LOGISTIC REGRESSION

CS103 Handout 08 Spring 2012 April 20, 2012 Problem Set 3

Lecture XXVI. Morris Swartz Dept. of Physics and Astronomy Johns Hopkins University November 5, 2003

AC Circuits III. Physics 2415 Lecture 24. Michael Fowler, UVa

Computational Physics (6810): Session 9

Exercises Lecture 15

Periodic Skeletons of Nonlinear Dynamical Systems in the Problems of Global Bifurcation Analysis

1 Simple Harmonic Oscillator

Math 1302, Week 8: Oscillations

Mechanical Oscillations

Lab 5: Harmonic Oscillations and Damping

CS446: Machine Learning Spring Problem Set 4

Math 21: Final. Friday, 06/03/2011

Module 24: Outline. Expt. 8: Part 2:Undriven RLC Circuits

WPI Physics Dept. Intermediate Lab 2651 Free and Damped Electrical Oscillations

RLC Circuits. 1 Introduction. 1.1 Undriven Systems. 1.2 Driven Systems

Differential Equations and Linear Algebra Exercises. Department of Mathematics, Heriot-Watt University, Edinburgh EH14 4AS

Why are Discrete Maps Sufficient?

PREMED COURSE, 14/08/2015 OSCILLATIONS

Rotational Number Approach to a Damped Pendulum under Parametric Forcing

OSCILLATIONS ABOUT EQUILIBRIUM

CSC411 Fall 2018 Homework 5

arxiv: v1 [physics.pop-ph] 13 May 2009

Experiment A11 Chaotic Double Pendulum Procedure

Chaos and R-L diode Circuit

Dynamical Systems and Chaos Part I: Theoretical Techniques. Lecture 4: Discrete systems + Chaos. Ilya Potapov Mathematics Department, TUT Room TD325

PreLab 2 - Simple Harmonic Motion: Pendulum (adapted from PASCO- PS-2826 Manual)

Laboratory handouts, ME 340

MAS212 Scientific Computing and Simulation

Transcription:

MAS Assignment #: The damped driven pendulum Dr. Sam Dolan (s.dolan@sheffield.ac.uk) Introduction: In this assignment you will use Python to investigate a non-linear differential equation which models the motion of a damped, driven pendulum rod. Part focusses on the linear case, describing small-amplitude oscillations. Part 3 focusses on the non-linear case, which exhibits some interesting behaviour. The Submission: A completed assignment will comprise a.pdf of your report and a single code file (.py or.ipynb). Your report should comprise 3 sections corresponding to the 3 parts below. It should also include a conclusion paragraph, and a list of references in a standard academic style. As well as addressing the parts of the brief, your report should also be a coherent document in its own right, which could be read by someone who has not seen this brief. The report should be no more that eight sides including figures. If necessary, additional material can be included in an appendix. The report should be accompanied by one Python script or Jupyter notebook. Note that the report will carry much more credit ( 8%) than the code. Please use LaTeX to write your report (or discuss with the lecturer if not possible). The Deadline: The deadline for submission is found on the course website. Files should be submitted at http://somas-uploads.shef.ac.uk/mas. Part : Introduction This section should consist of text and mathematics. No code is required for this section. Please include three or more citations of appropriate literature (e.g. scientific papers, books or appropriate online resources). (a) Damped harmonic oscillator. damped harmonic oscillator equation Write paragraph(s) to introduce the non-linear θ + γ θ + ω sin θ =, γ, ω >, () where θ = dθ, θ = θ. Describe how this arises as the equation of motion for a pendulum dt rod (refer to the handwritten notes). Give an interpretation of the two parameters γ and ω. (b) Linearization and superposition. Eq. () is non-linear. Show that, if θ, we may use the approximation sin θ = θ + O(θ 3 ) to obtain a linear equation, θ + γ θ + ω θ =, () Show that if θ and θ are solutions to Eq. (), then θ 3 Aθ + Bθ, where A and B are constants, is also a solution of Eq. (). Briefly describe one other context which

give rises to a second-order equation similar to (). For example, an LCR circuit or a mass on a spring. (c) Exact solution. Using substitution, or another method, show that the linearized version of Eq. () has an exact solution ( ) θ = Ae γt cos ω γ t + δ (3) for ω > γ, where A and δ are constants determined by the initial conditions. Find the exact solution for γ > ω. Define and use the terms under-damped, over-damped and critically-damped. Part : The undriven pendulum In this section, investigate Eq. () by using Python code to compute and plot numerical solutions. (a) First-order reduction. Show that Eq. () can be rewritten as a pair of first-order equations θ = η, η = γη ω sin θ. (4) (b) Example solution. Use odeint() to find a numerical solution to (4) for initial conditions θ() = π/, η() = and parameters γ =., ω =.. Plot the numerical solution [red solid line] and the exact solution Eq. (3) [blue dashed line] in two ways: (i) a time domain plot of θ vs t; (ii) a phase portrait of θ on the x-axis versus η on the y-axis. Your plots should look somewhat similar to Fig.. Include your labelled plots in a figure with a caption. Write a paragraph describing how the pendulum behaves after it is released from rest at θ = π/, referring to your figure for evidence. (c) Fixed point. In the text, show that Eqs. (4) have a fixed point at (θ =, η = ). Classify the fixed point using the eigenvalues of the Jacobian matrix. You may wish to distinguish between the under-damped and over-damped cases. Part 3: The driven non-linear oscillator In this section we consider a driven pendulum governed by a modified ODE θ + γ θ + ω sin θ = α cos(ωt). (5) Show that this is equivalent to a 3-dimensional first-order autonomous system: θ = η, η = γη ω sin θ + α cos ϕ, ϕ = Ω. (6) We will focus on the late-time, long-term behaviour of the system, which is more interesting than the transient response at early times to particular initial conditions. Key question: Does the pendulum respond to a periodic driving force by oscillating in a periodic (repeating) way? (More challenging / open-ended)

.5..5 numerical solution linear solution /4..5 /4. 3 4 t /4 /4 / Figure : Example plots for part (b). Left: a time-domain plot, showing the deflection angle of the pendulum θ as a function of time. Right: a phase portrait of θ versus η θ. The fixed point at (, ). Warning: These plots were generated with different parameters to in part (b). (a) Phase plots. Make D phase plots in the (θ, η) plane for parameter choices γ = /4, ω =, Ω =.6667 with the following values of α: (i) α =.9, (ii) α =.7, (iii) α =.5, (iv) α =.35. Use initial conditions θ = η = ϕ = at t =. Focus on the late-time (non-transient behaviour) by plotting for (e.g.) 5 < t <. Restrict θ to the range ( π, π]. Plot pixels (using, option) rather than lines. Your plots should look a bit like those in Fig. 3. Comment on your plots, addressing the key question above. (b) Stroboscopic plots (Poincaré sections). The phase space is three-dimensional. We may take a D cross section of the 3D phase space by plotting a point in the (θ, η) plane every time the integral curve passes through sin ϕ =. One may do this by plotting points in the (θ, η) plane at times n T, (n + )T, (n + )T,..., n T where T = π/ω. (Choose n to be large enough that the initial transient response, relating to the initial conditions, is not visible; for example: n = 5, n = ). Examine the parameter choices of part (a). Is the response periodic? ( If there are n distinct points, then the response is periodic with period πn/ω; conversely, if there is not a repeating pattern then the response is not periodic). (c) Extensions. (Open-ended). Investigate this system thoroughly using Python code. How does its behaviour change as the driving amplitude α is modified? Describe in your own words what happens as α is varied from to.5 (for fixed Ω, ω, γ as above). You may illustrate your discussion with additional plots generated by your code. You may wish to consider whether the following concepts are relevant: deterministic chaos; bifurcation; strange attractor. Conclusion and reference list Add a short conclusion to your report. This should be four sentences or so, summarising the most important findings. Include a list of references.

(i) =.9 (ii) =.7 / / / / (iii) =.5 / / (iv) =.35 / / Figure : Example plots of (θ, η) for part 3(a). =.9 =.7 =.5 =.35 / / Figure 3: Example of a stroboscopic plot for part 3(b).

Guidance: This assignment will count for 3% 35% of your module mark, and thus it should be a substantial piece of work. For this assignment, fair means include: asking the lecturer for advice; reading online materials; using and adapting short code snippets from lectures; etc. Please avoid verbatim copying, even in the introduction, and please cite all sources used. Unfair means include (but are not limited to): sharing or distributing files; copying-andpasting from work that is not your own; posting your work online; passing off other s work as your own, etc. Note that all submissions will be checked for excessive similarities. Where there is circumstantial evidence of unfair means, I reserve the right to award zero marks for this assignment. An example report from last year s assignment can be found here: http://sam-dolan. staff.shef.ac.uk/6/mas/docs/assign_report.pdf