Area under a curve():

input output
f(x)=
b=
a=
Accuracy=

=area=

Intoduction:

The table above can compute the approximate value of the area under a function between x= a and b.

Rule:

Please input any function of x into f(x)=..., (e.g. x+1). If you want to use power of x, log... Please read the table below.
Accuracy must be larger than 0, otherwise the area will be "NaN". The large value of accuracy, the longer time you will get the answer. Don't input too large value of Accuracy!(<=10000)

f(x)=... Please input
x^n (n is a natural number) Math.pow(x,n)
ln(x) Math.log(x)
square root of x Math.sqrt(x)
cos x Math.cos(x)
arc-cos x Math.acos(x)
PI Math.PI

For example, if you want to insert f(x)=x^9+cosx+1, you need to input "Math.pow(x,9)+Math.cos(x)+1" into the box of f(x)=...

Hosted by www.Geocities.ws

1