Q1.

Question

A better approximation can be found by using 100  smaller rectangles with base vertices at 0,0.01,0.02,0.03,........,1.00 . Change lines10,20,40  and 50 as follows:10LETX=0.0120FORN=1TO10040LETA=A+Y*0.0150LETX=X+0.01

                                       

RUN the program to approximate the area of the shaded region.

Step-by-Step Solution

Verified
Answer

Area is approximately 0.33835 .

1Step 1. Write the given information.

The shaded region is bounded by the graph of y=x2 , by the x-axis , and by the vertical line through the points  (1,0) and (1,1) .

The program for calculating the area of shaded region using 10 rectangles :10 LET X=0.120 FOR N=1 TO 1030 LET Y=X240 LET A=A+Y*0.150 LET X=X+0.160 NEXT N70 PRINT "AREA IS APPROXIMATELY"; A80 END

 

2Step 2. Concept Used.

We can approximate the area of the shaded region by drawing 100  rectangles having base vertices at x= 0 , 0.01 , 0.02, 0.03,,1.00 ,and computing the sum of the areas of the 100  rectangles. The base of each rectangle is 0.01 , and the height of each rectangle is given by y=x2

The following comuter program will comute and add the areas of the 100  rectangles .In line30,Y  is the height of each rectangle.In line 40 , A gives the current total of all the areas.

3Step 3. Do the calculation.

 10 LET X=0.0120 FOR N=1 TO 10030 LET Y=X240 LET A=A+Y*0.0150 LET X=X+0.0160 NEXT N70 PRINT "AREA IS APPROXIMATELY"; A80 END

Therefore, If the program is run, the computer will print AREA IS APPROXIAMTELY  0.33835