Post Reply 
NaN message?
04-08-2016, 08:32 PM
Post: #1
NaN message?
I am trying to integrate the function f(x)=ln(2+sin(x)) from x=3 to 5 and I get NaN message.
Can someone tell me why?
Find all posts by this user
Quote this message in a reply
04-08-2016, 09:58 PM
Post: #2
RE: NaN message?
I get a complex answer in CAS, an invalid input message in HOME. Physical software version 7820, and same behavior on iPad emulator.
Find all posts by this user
Quote this message in a reply
04-08-2016, 10:31 PM
Post: #3
RE: NaN message?
(04-08-2016 08:32 PM)Tim O Wrote:  I am trying to integrate the function f(x)=ln(2+sin(x)) from x=3 to 5 and I get NaN message.
Can someone tell me why?

Try this:

∫(ln(2+sin(x)),x,3.0,5)

Note the 3 is typed 3.0 not just 3

Then you get about 0.555 for an approx answer. It's an approx/exact issue.

-road
Find all posts by this user
Quote this message in a reply
04-09-2016, 02:03 AM
Post: #4
RE: NaN message?
Hi!, all:

If configure HP PRIME, for CAS and in CAS Setting in Approximate mode, Standar mode with 12 digits, the result is ... 0.555085197181
In Plot, if any value, of function is <=0, the result is NaN (Not an Number).
See, the attachment's in HP PRIME and Wolfram Alpha.


Attached File(s) Thumbnail(s)
       
Find all posts by this user
Quote this message in a reply
Post Reply 




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