Midpoint Rule, Trapezoid Rule and relative error Find the Midpoint and Trapezoid Rule approximations to using n =50 subintervals. Compute the relative error of each approximation.

SOLUTIONThe actual value of Step 1We have to approximate using both midpoint rule and trapezoidal rule by taking n=50.And then we have to compute the relative error for both the approximations.Step 2Mid point rule:The general midpoint rule isWhere the interval is and and are the midpoints for each interval.Thus for the...