Question: In Matlab: Exercise 3 Consider the following differential equation: (a) Using Eulers approximation of derivatives with arbitrarily, derive a difference equation model. (b) Using the
In Matlab:
Exercise 3 Consider the following differential equation:

(a) Using Eulers approximation of derivatives with arbitrarily, derive a difference equation model.
(b) Using the answer in part (a) and the M-file recur with T = 0.5 compute the approximation to y(t).
Plot the response y(t) for 0 t 20.
(c) Repeat part (b) for T = 0.05 and T = 0.02
(d) Compare the responses given in parts (b) and (c). Justify your conclusion.
d'y(t) dy(t) dt dt
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
