cancel
Showing results for 
Search instead for 
Did you mean: 
blevita
New member
4 2 0 1
Message 1 of 4
824
Flag Post

Solved!

Limes (lim, limit) sometimes only works with fractions, not with decimals.

HP Recommended
HP Prime

As you can see in the picture below, if you use a decimal number as limit (here 2.5) then the result will be undefined.

If you instead use 25/10, you will get the correct answer.

 

This is confusing. Because for the last operation with 1/x, decimal numbers are obviously working (2.1)

 

Is there a good reason for this behavious?

Would it make sense, that the HP-Team would implement to use the exact() function behind the lim for the x->value?

Thanks.

screen.png

 

0 Kudos
Tags (1)
3 REPLIES 3
Tim_Wessman
Level 8
Level 8
747 744 121 187
Message 2 of 4
Flag Post
HP Recommended

Doing something like converting input always to "exact" while mostly good behavior, could definititely be detrimental in other cases.

 

The general rule simply remains, while in the CAS avoid doing any approximations until any final step in an operation. That matches pretty well with what I was explained back in my school days from pretty much any professor too... 🙂

 

To quickly do this yourself, tap the history item once in the CAS (so the limit is selcted) and then press A B/C key. That throws "exact" around your expression for further evaluation.

TW

Although I work for the HP calculator group as a head developer of the HP Prime, the views and opinions I post here are my own.
0 Kudos
Tags (1)
blevita
Author
New member
4 2 0 1
Message 3 of 4
Flag Post
HP Recommended

Thank you so much for this proposal to use the A B/C key.

This is a very good solution!!!

 

Please add this hint to the HP-Prime Manual in the Limit section.

 

Tim_Wessman
Level 8
Level 8
747 744 121 187
Message 4 of 4
Flag Post
HP Recommended

It is described in the a b/c key and CAS sections I beleive already...

 

Glad you like it. That is why I designed it that way.

TW

Although I work for the HP calculator group as a head developer of the HP Prime, the views and opinions I post here are my own.
0 Kudos
† The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation