Answered step by step
Verified Expert Solution
Question
1 Approved Answer
HELP WITH STEPS D AND E Problem 2 . For a the governing equation is : d y d t = a + b y
HELP WITH STEPS D AND E
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 table of 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 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 myy 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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started