Question: Hi please solve using basic matlab codes , I need the answer captured from matlab Q3) Consider the following equation: dtdy=20y+7e0.5t Given that the value

Hi please solve using basic matlab codes , I need the answer captured from matlab
Q3) Consider the following equation: dtdy=20y+7e0.5t Given that the value of y=5 when t=0, a) Use the Euler's method to find y for t=0 to 0.1 using step size of t=0.01,0.001 and 0.0001 . Write a MATLAB code to do the calculations and show the results as a plot. b) If the analytical solution is y=5e20+19.57(e0.5te20t) find the true percent relative error for the value of y at t=0.1 with the three different step sizes
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
