- 21 Jun 2003 09:20

**Release Notes:** If y=1/((a^2)*(x^2)), then integral (y)dx=arctan(x/a)+c, where 'a' is
a constant and 'c' is the integration constant. When the y vs. x curve
is drawn, the area under the curve from x=0 to x=a is
[arctan(a/a)-arctan(0/a)]=pi/4. In this program, the area under the
above mentioned curve from x=0 to x=a is calculated by dividing the
area into a number of thin strips. The width of each strip along the
x-axis is unity. The value of 'a' should be input by the user. The sum
of the area of all the strips is multiplied by 4 to calculate the
approximate value of pi.