Barry Kissane11INTEGRALPurposeTo find the area under a curve and above the x-axis between two points, using theintegral of a function.OperationThe program reminds you that the function must be in Y1.Enter the function in Graph mode and then start the program in Program mode.Enter the x-value for the lower limit and the upper limit, pressing after each.The area is then printed on the screen.To test the program, check that the area under the function y = 1 – x2 between x = 0and x = 1 is 0.785. (Notice that this is an approximation to the area of a quadrant of theunit circle, the exact area of which is π/4.The program uses 100 intervals to approximate the integral. This is set by the fourthline of the program. A more accurate (but slower!) result can be obtained by increasingthis number. For example, the following new version of line 4 will change the numberof intervals to 150:A less accurate (but faster) result can be obtained by decreasing this number.