Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

( b ) Let's consider the following two driving amplitudes: ( i ) f 0 = 0 . 4 ( ii ) f 0 =

(b) Let's consider the following two driving amplitudes:
(i)f0=0.4
(ii)f0=0.7.
Create an m-file to produce plots of solution curves to the two driving amplitudes.
Your code should call osc.m (found in part a)), and ode45.
Set initial conditions to be y(0)=y(0)=0.
The domain of t should be 0,1000.
Name the m-file you used plotsoln.m, and submit it as part of your assign-
ment.
In both cases, your solution should be oscillatory and should "settle down into its
final rhythm" after about t~~600 or so.
What is the approximate amplitude of the solution's final waveform for the two
driving amplitudes (we'll call this the "final amplitude")?
For each value of f0, submit plots of the solution curves.
(c) We now investigate the relationship between f0 and the waveform's final amplitude.
Write another program called drive.m. This code should find the waveform's final
amplitude for 20 different values of f0 between 0.4 and 0.7.
Submit a plot which summarises this data. How does the final amplitude respond
to changes in f0?
Submit the plot, and drive.m as part of your assignment.
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered 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

Students also viewed these Databases questions