Question: NEED HELP WITH PART D AND E PLEASE Problem 2 . For a the governing equation is : d y d t = a +

NEED HELP WITH PART D AND E PLEASE
Problem 2. For a the governing equation is :
dydt=a+byy2
Where a is 1 and b is 2.y(0)=1
a) OK so set this up using Eulers method on Excel. Try a step size of 1 and run it out to t=20.
b) You will have a tabde of t and y and y'. Looking at "y", determine numerically and analytically,
the derivative of y at t=3 using forward difference and center differences. (this is based on
your table entries for y) Compare this derivative to what you show for y' in the Euler table.
(should be similar)
c) Extra ...add another column to use modified Euler method.
d) Write a MATLAB livescript program which asks the user for a and b, and the initial value of y
at t=0, and which fills an array "m" with y at 0,1,2,3,dots20.(should be the same values you
got in excel .. but don't copy from excel!!) Just use straight Euler for this... not modified.
e) Have your MATLAB script plot the function y vs time and y' vs time.
 NEED HELP WITH PART D AND E PLEASE Problem 2. For

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!