Post Reply 
Numerical integration
02-01-2018, 02:37 AM
Post: #1
Numerical integration
HP prime can not give the right answer such as int(sin(1/x)/x^(3/2),x,1,+infinity), how cold i calculate such kind of numerical integration. Thank you very much.
Find all posts by this user
Quote this message in a reply
02-01-2018, 04:03 AM
Post: #2
RE: Numerical integration
In CAS, use a lowercase "x" for the variable, and use "1." (instead of "1") for the lower limit, and you'll get 0.620536603447 which is the correctly rounded answer. Including a decimal point forces a numeric result instead of a symbolic result.

Or you can use "1" as the lower limit, press Enter, and then press the [a b/c] key to approximate it.

Or change the "Exact" mode in CAS Settings to OFF.

<0|ɸ|0>
-Joe-
Visit this user's website Find all posts by this user
Quote this message in a reply
02-01-2018, 04:08 AM
Post: #3
RE: Numerical integration
Xcas also does not find an answer, they must have an extraterrestrial mathematical reason xD

Viga C | TD | FB
Visit this user's website Find all posts by this user
Quote this message in a reply
02-01-2018, 07:00 AM
Post: #4
RE: Numerical integration
However, i got the answer like this 0.6417....


Attached File(s) Thumbnail(s)
   
Find all posts by this user
Quote this message in a reply
02-01-2018, 07:48 AM
Post: #5
RE: Numerical integration
(02-01-2018 04:08 AM)Carlos295pz Wrote:  Xcas also does not find an answer, they must have an extraterrestrial mathematical reason xD

in CAS there is an extraterrestrial mathematical reason also for simply ∫SIN(1/x) or ∫COS(1/x) :-)

∫aL√0mic (IT9CLU) :: HP Prime 50g 41CX 71b 42s 39s 35s 12C 15C - DM42, DM41X - WP34s Prime Soft. Lib
Visit this user's website Find all posts by this user
Quote this message in a reply
02-02-2018, 05:23 PM
Post: #6
RE: Numerical integration
As Joe said, do it in the CAS screen and you get the desired result. The problem with doing it in the home is you hit numerical limitations with 12 digits and also approximations.

TW

Although I work for HP, the views and opinions I post here are my own.
Find all posts by this user
Quote this message in a reply
02-04-2018, 05:02 AM
Post: #7
RE: Numerical integration
(02-01-2018 07:00 AM)scublue Wrote:  However, i got the answer like this 0.6417....

You have to be more careful with where you put parentheses. Your original posting's expression is different from your recently posted expression. You can see them both here:

[Image: integral.png]

<0|ɸ|0>
-Joe-
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 




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