Q1.
Question
A better approximation can be found by using 100 smaller rectangles with base vertices at . Change lines and 50 as follows:
RUN the program to approximate the area of the shaded region.
Step-by-Step Solution
VerifiedArea is approximately .
The shaded region is bounded by the graph of , by the x-axis , and by the vertical line through the points and .
The program for calculating the area of shaded region using 10 rectangles :
We can approximate the area of the shaded region by drawing 100 rectangles having base vertices at and computing the sum of the areas of the 100 rectangles. The base of each rectangle is , and the height of each rectangle is given by
The following comuter program will comute and add the areas of the 100 rectangles .In line is the height of each rectangle.In line 40 , A gives the current total of all the areas.
Therefore, If the program is run, the computer will print AREA IS APPROXIAMTELY