Question: Write an Octave program to find a numerical solution to the ordinary differential equation dy dt = y 2 + 1 with the initial condition
Write an Octave program to find a numerical solution to the ordinary differential 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 difference 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
