Question: Solve question 2 using matlab code 2. Solve the following initial value problem using ode45 and ode15s: y,(t)-3y(t) + ty(t)-sin2(t)-7, o s t 1, y(0)-0,
2. Solve the following initial value problem using ode45 and ode15s: y",(t)-3y"(t) + ty(t)-sin2(t)-7, o s t 1, y(0)-0, y, (0) = 1, y" (0) = 0. Plot the solution for varying tolerances. Why do you believe your solution is cor- rect
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
