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 For a the governing equation is :
Where is and is
a OK so set this up using Eulers method on Excel. Try a step size of and run it out to
b You will have a tabde of t and and Looking at determine numerically and analytically, the derivative of at using forward difference and center differences. this is based on your table entries for y Compare this derivative to what you show for 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 and the initial value of at and which fills an array with at dotsshould 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 vs time and vs time.
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
