Search for question
Question

Numerical Integration

Write a program to calculate the integral of a function using both the trapezoidal rule and the rectangular rule. That is, we want to calculate an approximation to

Fig: 1