Please make a little adjust for the following script then makeit work for
Runge Kutta method
Consider the initial value problem
du/dt=t^5 u(0)=0
0<=t<=1
Q1. how we change the below script to make it to solve the aboveIVP and the answer should be near 4
here is the script
f =@(t ,y)(t^5); % define f by f(t,y)=y^5
for k =1:10
[ tlist , ylist ]= RKfour174 (f ,0 ,1 ,0, 2^k);
error1 (k)= max ( abs ( ylist - ( tlist )));
hlist (k) =1/2^k;
end
x= log ( hlist );
y= log ( error1 );
polyfit (x ,y ,1)
function [tlist,ylist] =RungMethod(f,t0,tfinal,y0,N) what is the input for N, n is astepsize