Re: Simpson's Rule on HP17b/19b/200LX anyone? Message #9 Posted by Bill (Smithville, NJ) on 11 July 2007, 1:02 p.m., in response to message #8 by Peter A. Gebhardt
Peter,
I went through my set of The HP Palmtop Paper On Disk and found the following Solver Equation:
Integral
!CALC Num'cal Integration from TECH APP booklet E.G. Set
A=-1,B=1,X=1 N=20 and find the area of a circle(I)!
I=L( H:(A-B)/(-2*N))/3*
SIGMA(R,
0,
2*N,
1,
0*L(X,A+R*G(H))+(SGN(R)+SGN(2*N-R)+2*MOD(R,2))*
( ! function goes on next line(s) !
! e.g. area under a line (right triangle)!
! X !
(2*SQRT(1-X^2))
!area in top and bottom of circle! )
)
This is based on the one in the Tech App Guide.
You can just replace (2*SQRT(1-X^2)) with your F(X).
Note that N=20 means 40 iterations.
Have Fun.
Bill
Edited: 11 July 2007, 1:03 p.m.
|