Answered step by step
Verified Expert Solution
Question
1 Approved Answer
The double spring A double spring consists of two springs, attached end - to - end, each with a point mass on the enc For
The double spring
A double spring consists of two springs, attached endtoend, each with a point mass on the
enc
For this project, we will consider only the case where the two point masses are equal, and
the springs are of equal rest length, and have equal spring constants, In this case, the
motion of the double spring is governed by the following set of coupled ODEs:
where and are the positions of the two masses. This can be rewritten as
where
Question Write this system of equations in matrix form: where
For Questions and Tasks we will assume the rest length of each spring is zero. In
this case, so that and the matrix equation is homogeneous, ie
Although this is unrealistic, it will give us a good starting point.
Since the point masses will oscillate back and forth, we should expect the solutions to this
system of equations to contain oscillatory functions.
Question Both and where are solutions
to the system of equations given by By substituting each solution into the matrix equation
from Qwith state what relationship and have to
Let the point masses have mass and let the springs have stiffness Task In your MATLAB script file, write the code required to find the eigenvalues and
: and the corresponding eigenvectors and for the matrix Use the corresponding
section of the 'skeleton' MATLAB script at the end of this assignment. Run your script file to
find and Write your answers in your report.
The general solution of the system of equations will be a linear combination of all of the
solutions described above.
Question Write the general solution in terms of the eigenvalues and eigenvectors of the
matrix
Hint: The system of equations consists of two second order linear ODEs. This means
that we should expect the general solution to have four arbitrary constants, that is the general
solution should be a linear combination of four solutions. Use for the arbitrary
constants.
The values of will depend on the initial conditions of the system, that is the specific
initial value problem. We will consider the following specific initial value problem:
Question Give a physical interpretation of the initial conditions listed above in
Question To determine the unknown constants for any initial value problem, we can solve
a matrix equation of the form where Write down and
Task Then, in your MATLAB script file, write the code required to find for the
specific initial value problem described above. Be sure, though, to set it up so that you can easily
change the initial value problem.
Our solution, describes the positions of the point masses at a particular time
Task Fill in the necessary MatLaB code required to calculate the positions of the masses at
times seconds use a stepsize of s
To create the animation, we use the for loop within the skeleton MATLAB code provided. Copy
this to your MATLAB script file. Run the animation this will create MATLAB Figure
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started