Strange behavior on G1 version 2.1.14588 (2021 05 05))

06242021, 12:36 PM
Post: #1




Strange behavior on G1 version 2.1.14588 (2021 05 05))
Playing around with the sinc function (https://en.wikipedia.org/wiki/Sinc_function), I found a strange result:
In CAS mode, the result is correct. How is that possible? 

06242021, 02:24 PM
Post: #2




RE: Strange behavior on G1 version 2.1.14588 (2021 05 05))
Same result on a 48 and on a 50g (in approx mode, same as Prime Home).
It's an artifact of how these are calculated internally, probably using logs, though this latter part is just a wag. In approx mode, SIN(Pi) is not 0.00, it's 2.06761537357E13), so the math is correct. Bob Prosperi 

06242021, 02:41 PM
Post: #3




RE: Strange behavior on G1 version 2.1.14588 (2021 05 05))
I understand that with a rounded value of pi (e.g. 3.14159265359), the result of sin(3.14159265359) is not 0 but 2.067…×10⁻¹³
But, sin(π) results in 0 in approx mode. 

06242021, 02:50 PM
Post: #4




RE: Strange behavior on G1 version 2.1.14588 (2021 05 05))
Sorry, to be clear, my comment should have said "On the 48/50, In approx mode, SIN(Pi) is not 0.00, it's 2.06761537357E13), so the math is correct."
If it's 0.00 on the Prime in Approx mode in Home, I'd guess that it's fudging the answer since the legacy 'pure' calculation shows the actual result, which is consistent with the value you reported. Maybe Joe Horn can explain further... Bob Prosperi 

06242021, 04:23 PM
Post: #5




RE: Strange behavior on G1 version 2.1.14588 (2021 05 05))
HP Prime Lite 2.1.14591 on Android gives the correct approx result for SIN(π) → 2.06761537357E13
— Ian Abbott 

06242021, 10:02 PM
Post: #6




RE: Strange behavior on G1 version 2.1.14588 (2021 05 05))
The latest Android Prime Pro returns that same answer as well...
@Over_score  Where/how did you get 0 for SIN(Pi) in Approx mode (Home view)? Bob Prosperi 

06252021, 04:06 AM
(This post was last modified: 06252021 04:08 AM by Joe Horn.)
Post: #7




RE: Strange behavior on G1 version 2.1.14588 (2021 05 05))
(06242021 02:50 PM)rprosperi Wrote: Maybe Joe Horn can explain further... Yes, Home returns 0 for SIN(pi) only by explicitly looking for that expression and pretending to calculate the answer. It's sad and contrary to HP's previous philosophy, but more and more students are expecting to get results like this, so even HP is faking it now. Also, note that SIN(pi)/pi also returns 0 in Home view if "Intelligent Math" mode is turned on (Home Settings, page 2, only in recent firmware versions). Although it's called "Intelligent Math" Mode, it should really be "Student Stupidity Compensator" Mode. It looks for certain patterns, and passes those through CAS for symbolic simplification. It sometimes returns what students expect, and sometimes doesn't, unpredictably. It will only be a reliable math tool when HP publishes a complete table of the lookup pattern inputs and outputs for "Intelligent Math" mode. And we all know when that will happen. SIN(pi) and SIN(pi)/pi in CAS view do NOT return 0 when "Exact" mode (in CAS Settings) is turned off, since it uses the truncated 48bit value of pi. When Exact mode is turned on, the symbol for pi is never evaluated; the expressions are simplified symbolically. If any of the above is unclear, just holler. <0ɸ0> Joe 

06252021, 04:13 AM
(This post was last modified: 06252021 05:30 AM by dah145.)
Post: #8




RE: Strange behavior on G1 version 2.1.14588 (2021 05 05))
Reproduced the result on the latest software, interestingly enough when Intelligent Math is checked the result is zero.
Edit: Already explained in the post above. 

06252021, 07:25 AM
Post: #9




RE: Strange behavior on G1 version 2.1.14588 (2021 05 05))  
06252021, 03:30 PM
(This post was last modified: 06252021 03:43 PM by ijabbott.)
Post: #10




RE: Strange behavior on G1 version 2.1.14588 (2021 05 05))
(06252021 04:06 AM)Joe Horn Wrote: Yes, Home returns 0 for SIN(pi) only by explicitly looking for that expression and pretending to calculate the answer. It's sad and contrary to HP's previous philosophy, but more and more students are expecting to get results like this, so even HP is faking it now. Strangely (on the real calc, with "intelligent math" OFF), SIN(π*1) also returns 0, but SIN(π+0) doesn't! EDIT: Maybe it should be considered a bug: "intelligent math" being used in some cases (and inconsistently so) even when the option is disabled. — Ian Abbott 

« Next Oldest  Next Newest »

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