Electrical and Computer Engineering
4 of 14
UAH
CPE 112
Problem-Solving Case Study:
Finding the Area Under a Curve
•Problem: Find the area under the curve of the function x3 over an interval specified by the user. •Input: Two floating-point numbers specifying the interval over which to find the area, and an integer number of intervals to use in approximating the area.