Question: Write a MATLAB/Octave program to ?nd a numerical solution to the ordinary di?erential equation dy/dt = y^2 + 1 with the initial condition y(0) =
Write a MATLAB/Octave program to ?nd a numerical solution to the ordinary di?erential equation dy/dt = y^2 + 1 with the initial condition y(0) = 0. Have your program create plots for both y(t) vs. t and the error in y(t) vs. t. What is the largest di?erence between the two solutions on the domain 0 ? t ? 1?
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
