HP Forums
Prime on a loop inserting a radical - Printable Version

+- HP Forums (https://www.hpmuseum.org/forum)
+-- Forum: HP Calculators (and very old HP Computers) (/forum-3.html)
+--- Forum: HP Prime (/forum-5.html)
+--- Thread: Prime on a loop inserting a radical (/thread-3004.html)

Pages: 1 2


Prime on a loop inserting a radical - salvomic - 02-04-2015 09:54 PM

I was trying to insert the radical \SQRT((t+i)/(-t+i))^i and Prime is gone on a loop without ending...
Also Emulator behaviors so: top right "clepsydra" (sand clock) working, and after several minutes a dialog box: "The application has crashed and will be restarted"...

With an expression like this first "Simplify" sent the calculator in crash also. The expression was c*t*e^((i/2)*ln((t+i)/(-t+i))), got applying "atrig2ln()" to the expression c*t*e^ATAN(t)... Hit "Simplify" on that expression also emulator (as Prime) hangs...

***
\( \left(\sqrt{ \frac{t+i}{-t+i} }\right) ^{i} \) -> crash
atrig2ln(c*t*e^ATAN(t)) -> -> \( cte^{(\frac{i}{2})\log{ \frac{(-t+i)}{-t+i} }} \) -> Simplify crash also
***

Salvo


RE: Prime on a loop inserting a radical - retoa - 02-06-2015 08:13 AM

I tried this some 20 minutes ago, at first the sandclock worked, then it stopped, the calculator freezed and did not react to any keypresses.

After a long time I had to press the reset key (paper clip) to restart it.


RE: Prime on a loop inserting a radical - salvomic - 02-06-2015 08:21 AM

(02-06-2015 08:13 AM)retoa Wrote:  After a long time I had to press the reset key (paper clip) to restart it.

now I don't remember if I pressed, instead, On+Symb, or the Prime restarted by itself...

However is a strange "bug"...


RE: Prime on a loop inserting a radical - retoa - 02-06-2015 08:28 AM

It seems to be related to the imaginary i, I tried

\( \sqrt{((t+a)/(-t+a))^a} \)

and it works.

Then I stored a:=i, retried tha same expression and it freezed again.


RE: Prime on a loop inserting a radical - salvomic - 02-06-2015 08:36 AM

(02-06-2015 08:28 AM)retoa Wrote:  ...
Then I stored a:=i, retried tha same expression and it freezed again.

yes!

Emulator (6975) crashes also with only \[ \left(\sqrt{\frac{1}{2}}\right)^{i} \]
help!


RE: Prime on a loop inserting a radical - retoa - 02-06-2015 08:50 AM

(02-06-2015 08:36 AM)salvomic Wrote:  ...

Emulator (6975) crashes also with only \[ \left(\sqrt{\frac{1}{2}}\right)^{i} \]
help!

Also my real Prime, it crashes already with

\( \sqrt{2}^i \)

Why ???


RE: Prime on a loop inserting a radical - retoa - 02-06-2015 12:28 PM

xcas does not crash with these expressions, so the problem is only related to HP Prime.


RE: Prime on a loop inserting a radical - salvomic - 05-13-2015 08:21 PM

(02-06-2015 12:28 PM)retoa Wrote:  xcas does not crash with these expressions, so the problem is only related to HP Prime.

still the Prime hangs with the firmware 7820...
√2^i and the Prime goes on a loop; hint: On+Symb

Salvo


RE: Prime on a loop inserting a radical - Marcio - 05-13-2015 08:26 PM

Couldn't reproduce any of the errors reported here after the update. Never tried before though.


RE: Prime on a loop inserting a radical - salvomic - 05-13-2015 08:34 PM

(05-13-2015 08:26 PM)Marcio Wrote:  Couldn't reproduce any of the errors reported here after the update. Never tried before though.

(√2)^i here in Home ok: 0.9405+0.3396i

In CAS the calculation seems endless, and I can exit only with ON+Symb :-(


RE: Prime on a loop inserting a radical - Marcio - 05-13-2015 08:59 PM

(05-13-2015 08:34 PM)salvomic Wrote:  
(05-13-2015 08:26 PM)Marcio Wrote:  Couldn't reproduce any of the errors reported here after the update. Never tried before though.

(√2)^i here in Home ok: 0.9405+0.3396i

In CAS the calculation seems endless, and I can exit only with ON+Symb :-(
Oh I see. Sorry about that.


RE: Prime on a loop inserting a radical - salvomic - 05-13-2015 09:00 PM

(05-13-2015 08:59 PM)Marcio Wrote:  Oh I see. Sorry about that.

never mind, no problem by you Smile


RE: Prime on a loop inserting a radical - akmon - 05-17-2015 04:23 PM

Same here, it crashes even with new firmware 7820.


RE: Prime on a loop inserting a radical - Helge Gabert - 05-17-2015 05:31 PM

Yes, same here,

and interestingly, in CAS,

(sqrt(2))^i returns sqrt(2^i).


RE: Prime on a loop inserting a radical - parisse - 05-17-2015 06:09 PM

I just discovered this bug today. Will be fixed for Xcas next week.


RE: Prime on a loop inserting a radical - John Colvin - 05-17-2015 06:46 PM

(05-13-2015 08:34 PM)salvomic Wrote:  
(05-13-2015 08:26 PM)Marcio Wrote:  Couldn't reproduce any of the errors reported here after the update. Never tried before though.

(√2)^i here in Home ok: 0.9405+0.3396

In CAS the calculation seems endless, and I can exit only with ON+Symb :-(

Works fine for me in both Home and CAS: 0.9405... + 0.3397...i. You might check your settings. I have the latest firmware release.


RE: Prime on a loop inserting a radical - Mark Hardman - 05-17-2015 06:59 PM

(05-17-2015 06:46 PM)John Colvin Wrote:  
(05-13-2015 08:34 PM)salvomic Wrote:  (√2)^i here in Home ok: 0.9405+0.3396
In CAS the calculation seems endless, and I can exit only with ON+Symb :-(
Works fine for me in both Home and CAS: 0.9405... + 0.3397...i. You might check your settings. I have the latest firmware release.

You're getting approximate results in CAS. Try again with the Exact option checked in the CAS Settings.


RE: Prime on a loop inserting a radical - John Colvin - 05-17-2015 07:14 PM

(05-17-2015 06:59 PM)Mark Hardman Wrote:  
(05-17-2015 06:46 PM)John Colvin Wrote:  Works fine for me in both Home and CAS: 0.9405... + 0.3397...i. You might check your settings. I have the latest firmware release.

You're getting approximate results in CAS. Try again with the Exact option checked in the CAS Settings.
I assumed it was a settings issue. I tried Exact in Cas and got the symbolic answer
Sqrt(2^i) but it didn't hang or crash.


RE: Prime on a loop inserting a radical - Mark Hardman - 05-17-2015 08:01 PM

(05-17-2015 07:14 PM)John Colvin Wrote:  I assumed it was a settings issue. I tried Exact in Cas and got the symbolic answer
Sqrt(2^i) but it didn't hang or crash.

The bug comes into play when the radical symbol (√) is used:

(05-13-2015 08:34 PM)salvomic Wrote:  (√2)^i here in Home ok: 0.9405+0.3396i
In CAS the calculation seems endless, and I can exit only with ON+Symb :-(

It has already been established by Helge that the bug does not present itself if the sqrt() function is used in place of the radical symbol:

(05-17-2015 05:31 PM)Helge Gabert Wrote:  Yes, same here,
and interestingly, in CAS,
(sqrt(2))^i returns sqrt(2^i).

Even the developer has agreed that this is a bug.

(05-17-2015 06:09 PM)parisse Wrote:  I just discovered this bug today. Will be fixed for Xcas next week.

Sometimes I miss Walter.
.
.
.
Nah...


RE: Prime on a loop inserting a radical - John Colvin - 05-17-2015 08:12 PM

I used the square root key, not the Sqrt() function. I am not denying that there is a bug. I just can't seem to reproduce it. What are your CAS settings?