Question: using Excel or Matlab, approximate the following function using Euler's method over x=0 to 5 Given: y=8x^2-x+6; and using step a size of 0.25
using Excel or Matlab, approximate the following function using Euler's method over x=0 to 5 Given: y=8x^2-x+6; and using step a size of 0.25 and the initial condition of y(0)=6 Tabulate values and calculate % error for each relative to exact case and plot the exact and approximate values on a chart.
Step by Step Solution
3.40 Rating (166 Votes )
There are 3 Steps involved in it
MATLAB Code Define the function f x y 8x2 x 6 Set the step ... View full answer
Get step-by-step solutions from verified subject matter experts
