Question: Using MATLAB!! 2. Calculate the following integral: e 2 A) using Trapezoidal rule for 6 segments: (30pts) B) Find the percent error using MATLAB in-built
2. Calculate the following integral: e 2 A) using Trapezoidal rule for 6 segments: (30pts) B) Find the percent error using MATLAB in-built function 'trapz' as the more accurate value. (5pts) Extra credit (10pts): Use ode23 and ode45 to plot the solution of following equation on the interval of [0,47t], the initial value of y at t-0 is 3. (Plot in one figure only) dy cost dt 2y-2
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
