WRITE A MATLAB FUNCTION PLEASE. and make sure you use theexplicit Runge-Kutta 4th order method
Task 2: Write a function RK4Solver.m that solves the ODEs using the explicit Runge-Kutta method of order 4 from lectures. The file should start with function [tout, yout] -RK4Solver(f, t,yo); INPUT: f (t,y) is an anonymous function that defines the right-hand side of the ODE ydot -f (t,y) 2 t -[t0 t1 tfinal] is a vector of grid points yo-ta b el
OR
OR