Question: For all problems, you can assume gravity is 9 . 8 1 m ? This problem uses MATLAB. Turn in your program and plots, as
For all problems, you can assume gravity is
This problem uses MATLAB. Turn in your program and plots, as well as answers to the following parts. Please print your MATLAB code as a pdf to include in your submission. Be sure to include axis labels with units and legends with your plots.
Consider the springdamper system shown, where and the spring is initially at rest with
pts Derive a firstorder linear differential equation to describe the position of the spring with applied force
pts Assuming that is a constant value of F determine the particular solution to the spring position,
pts Provide equations which describe: the energy stored in the spring as a function of time and the power dissipated by the damper as a function of time,
pts Simulate System A for seconds with a timestep seconds using the forward Euler method in MATLAB given that and :
a Plot the position calculated by Euler's method and the position function found in part on the same graph Eulers in red, Analytical Solution in blue
b Plot the energy stored in the spring calculated through Euler's method and the energy stored in the spring with your analytical solution Eulers in red, Analytical Solution in blue
pts Simulate System A for seconds with a timestep seconds using the forward Euler method in MATLAB given that and a time varying force :
a Plot the position calculated by Euler's method
b Plot the energy stored in the spring, calculated through Euler's method
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
