Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Plots and code needed. MatLAB question. Problem3: An exponentially decaying sinusoid can be used as a mathematical models for several applications including damped harmonic motion,

Plots and code needed. MatLAB question. image text in transcribed
Problem3: An exponentially decaying sinusoid can be used as a mathematical models for several applications including damped harmonic motion, damped vibrations in structures, and filters. The general form for an exponentially decaying sinusoid is: Suppose we have a mass connected to a spring. The spring is compressed 1 cm then released. Based on the characteristics of the mass and spring, we determine that the displacement of the mass from equilibrium (in cm) d-et cos(4t) We would like to determine how often we will need to take measurements of the position of the mass in order to be able to get a good estimate for the velocity of the mass. Create a function file to do the following: The function has one input argument, DeltaT Create a time vector, t meas, ranging from 0 to 20 seconds with an increment of DeltaT Calculate the displacement "measurements" at the corresponding times in the time vector. Create a second time vector, t act, ranging from 0 to 20 seconds with an increment of 0.001 Calculate "actual" displacement using this second time vector, t act. Plot the displacement measurements and the actual displacement on the same plot. The measurements should be plotted as data points and the actual displacement should be plotted with a solid line. Using the displacement "measurements and DeltaT estimate the velocity using the 2-PT reverse estimate. Calculate the "actual" velocity from 0 to 20 seconds by taking the derivative of the equation for d and plugging in the times in t act. In a new figure, plot the estimated velocity and the actual velocity on the same plot. Estimated velocity should be plotted as data points and actual velocity should be plotted as a solid line. Add title, labels (with units), and a legend to each of your Run the function using a DeltaT 0.5 seconds. Paste the plots below PLOTS for DeltaT-0.5 Run the function using a DeltaT-0.05 seconds. Paste the plots PLOTS for DeltaT 0.05

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Oracle Database 10g Insider Solutions

Authors: Arun R. Kumar, John Kanagaraj, Richard Stroupe

1st Edition

0672327910, 978-0672327919

More Books

Students also viewed these Databases questions

Question

1. Construct and interpret control charts for system outcomes

Answered: 1 week ago

Question

Identify five strategies to prevent workplace bullying.

Answered: 1 week ago