Question: Write a code in matlab that implements reimann sums where points are added in between existing points, The function should take four arguments: A function
Write a code in matlab that implements reimann sums where points are added in between existing points, The function should take four arguments: A function that returns the funtion value at a wanted point, the integration bounds, and the relative error.
Integrate the functions
a.) sin(x) over (a,b)=(0,pi)
b.) cos(6 pi x) exp(-4x) over (a,b)=(0, 11/2)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
