Question: Use ode45 in MATLAB to solve the following initial value problem: y = 0.5 t + y + y' +2%; y(0) = 0, y'(0)
Use "ode45" in MATLAB to solve the following initial value problem: y" = 0.5 t + y + y' +2%; y(0) = 0, y'(0) = 0 Print the m-file, output for t, y for 0t1.0, with step size h =0.1 The exact solution is y = e' -t-1 Plot the results from "ode45" and the exact solution on the same coordinate system
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
