Post Reply 
Quiz: calculating a definite integral
12-31-2013, 04:56 AM (This post was last modified: 12-31-2013 08:58 AM by Thomas Klemm.)
Post: #5
RE: Quiz: calculating a defined integral
(12-31-2013 04:24 AM)Namir Wrote:  I do believe the program should be:

Code:
01 LBL 0
02 ENTER
03 CHS
04 yx
05 RTN

For the built-in integral to work!
The HP-15C conveniently fills the stack with \(x\) when calling your function.

Quote:I would use an open Newton-Cote numerical integration method since this class of methods do not evaluate the integral at the end points, just in case my machine barks at evaluating 1/0^0.

Good point. The function is continuous even at 0: \(\lim_{x\to0}x^{-x}=1\)
[Image: attachment.php?aid=87]
But the first derivative is singular at 0: \(\lim_{x\to0}\frac{\partial x^{-x}}{\partial x}=\infty\)
HP's modified Romberg method avoids the end-points of the interval as well.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Quiz: calculating a defined integral - Thomas Klemm - 12-31-2013 04:56 AM



User(s) browsing this thread: 3 Guest(s)