Question: Q 1 By substituting ( 2 ) into the ODE, verify that the general solution to equation ( 1 ) is givenby = c 1
Q By substituting into the ODE, verify that the general solution to equation is givenby c cost c sintwhere pgThe double pendulumA double pendulum consists of two pendulums attached endtoend, as shown belowBAThis system exhibits rich dynamic behaviour, which in some situations is chaotic. For thisproject, we will consider the case where the two bobs have equal mass, the two rods are ofequal length, and the oscillations are small. For small oscillations that is and smallthe behaviour is not chaotic and the motion of the double pendulum is governed by the followingset of coupled ODEs:where pg and For this project, you should assumeg ms and the length of each rod, mQ: Write this system of equations in matrix form: A where #Since the pendulum will oscillate back and forth, we should expect the solutions to this systemof equations to contain oscillatory functions.Q: Both x cos t and x sin t where x xx# are solutions to thesystem of equations given by By substituting each solution into the matrix equation fromQ state what relationship x and have to AQ: In your Matlab script file, write the code required to find the eigenvalues and andthe corresponding eigenvectors x and x for the matrix A Use the corresponding sectionof the skeleton Matlab script at the end of this assignment. Run your script file to find x and x Write your answers in your report.The general solution of the system of equations will be a linear combination of all of thesolutions described above.Q: Write the general solution in terms of the eigenvalues and eigenvectors of the matrix AHint: The system of equations consists of two second order linear ODEs. This means thatwe should expect the general solution to have four arbitrary constants, that is the general solution should be a linear combination of four solutions. Use c c c c for the arbitrary constants.The values of c c c c will depend on the initial conditions of the system, that is the specificinitial value problem. We will consider the following specific initial value problem: rad rad rad s rad sQ: Give a physical interpretation of the initial conditions listed above in Q: To determine the unknown constants for any initial value problem, we can write a systemof linear equations for unknowns c c c c and solve a matrix equation of the form Bc dwhere c c c c cT Write down B and d in your report. Then, in your Matlab scriptfile, write the code required to find c c c c for the specific initial value problem describedabove. Be sure, though, to set it up so that you can easily change the initial value problem.Our solution, describes the angles between the vertical and each rod at a particular time tHowever, to construct our animation, we must first determine the positions of the bobs at timet. Denote the position of bob A by ax ay and the position of bob B by bx byQ: Fill in the necessary Matlab code required to calculate the positions of the bobs at times t seconds use a stepsize of s Provide supporting handwritten workings thatshow how ax ay bx by are determined.To create the animation, we use the for loop within the skeleton Matlab code provided. Copythis to your Matlab script file.Q: Run the animation. Explain precisely what the lines of code marked with do Printout the position of the double pendulum at t s and include this figure in your report FigureQ: Create a second Matlab figure that shows the path traced out by each bob. Show bob Ain red and bob B in blue. Include a printout of this figure in your report Figure Explainwhy this does not need to be done inside the animation loop.Q: Create a third Matlab figure that plots against Be sure to label your axes andinclude a printout of this figure in your report Figure This is an example of a Lissajouscurve. You do not need to know this, but you might be interested in the graph that it creates!Q: Choose your own initial value problem remember to choose appropriate values for and and create the appropriate Matlab figures by running your script file.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
