URGENT MATLAB HELP! Thanks! [-2,3] is the range. DON'T USE built-in MATLAB function to calculate the integral!
Interval is [-2,3].
4. 2 Problem Directions: NAME your results with the exact value of the integral of -10 and return the integral as a single, scalar output. (3) the end of the desired interval, (2) the start of the desired interval, (1) number of desired rectangles, N. Your function should take 3 inputs: the previously calculated area, enough points with the plot function to develop a smooth curve, rectangle, and summing all the areas of all rectangles. As on top of your script file before the function, plot y = 2x - 3x - 3x over the range of -2 Figure. This can be done with a for loop where the area of each rectangle is calculated and added to the calculated at the midpoint of the rectangle as the value of the function y as shown in Where x is the width of each rectangle calculated as x = and y is the height of each rectangle.
LABECTION EAS 230-Spring 2019-Lab Midterm-Page 1 1 rend ot the ab genvod y-f