Hey everyone I need to construct a matlab program that implements the fourth ord
ID: 2971013 • Letter: H
Question
Hey everyone I need to construct a matlab program that implements the fourth order Runge-kutta
it should be able to implement the fourth order runge-kutta for ivps of the form
y^1=f(y,t)
y(t0)=y0
It should have a data function at the end of the .m file that allows users to input values for
f(y,t),t0,y0,N and h, h being step size and N the number of steps to reach endpoint
the program should output the approximations of y(ti)(i.e.{w0,w1...wn})
should also include a graphical approximation to the solution.
the program should be coded with
y^1=2/t*y+t^2e^t
y(1)=0
h=.1
N=10
*dont think its a long code, but Im matlab challenged
Explanation / Answer
Hey everyone I need to construct a matlab program that implements the fourth ord