please read the instructions
Posted: Thu May 26, 2022 11:33 am
please read the instructions
Please read the instructions, only MATLAB CODE, if you don't have knowledge in MATLAB don't answer the question. PUT THE MATLAB CODE AND the output. 1. Solve the following ODE, y' + 2y = x + 4, y(0) = 1 using a. Approximate y (0.4) second order Runge-Kutta with h=0.2 and y(0)=0. b. Using the previous results use Adam- Bashforth(predictor) two step explicit method in conjunction with Adam- Moulton two step implicit method (corrector) to approximate y (0.8) with h=0.01 c. Use MATLAB to approximate and plot the solution from x=0 to x=1 using 2nd order Runge-Kutta with h=0.2 and y (0) = 1
Please read the instructions, only MATLAB CODE, if you don't have knowledge in MATLAB don't answer the question. PUT THE MATLAB CODE AND the output. 1. Solve the following ODE, y' + 2y = x + 4, y(0) = 1 using a. Approximate y (0.4) second order Runge-Kutta with h=0.2 and y(0)=0. b. Using the previous results use Adam- Bashforth(predictor) two step explicit method in conjunction with Adam- Moulton two step implicit method (corrector) to approximate y (0.8) with h=0.01 c. Use MATLAB to approximate and plot the solution from x=0 to x=1 using 2nd order Runge-Kutta with h=0.2 and y (0) = 1