Post Reply 
Calculate 200^300 with SOLVE
03-02-2016, 03:29 AM (This post was last modified: 03-02-2016 11:12 AM by Gerson W. Barbosa.)
Post: #11
RE: Calculate 200^300 with SOLVE
(03-02-2016 02:22 AM)John Keith Wrote:  
(03-01-2016 02:25 PM)Gerson W. Barbosa Wrote:  On the HP 50g, exact mode on:

20370359763344860862684456884093781610514683936659362506361404493543812997633367​0618339737600000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000​0000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000​0000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000​0000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000​0000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000​0000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000​00000000000000000



Code:

« 1 1 300
  START 200 *
  NEXT
»

The maximum number of digits is limited by available memory, I think.

P.S.: This confirms Tugdual's post above, which I hadn't read yet. The HP-49G was the first HP calculator to be able to solve this, by the way.

I just typed 200 300 ^ on my 50g and got the same answer in under a second. Is there a reason that you used a loop with multiplication instead?

John

Yes, in 0.4193 s here. Then I was using the emulator in Debug4. I'd have to check the flags settings, but I'm sure it was in Exact Mode. Anyway, when I did 200 300 ^ I got an answer in scientific notation, not an overflow by what I can remember. I'll check it again later, as I'm away from the desktop computer now.

Gerson.

P.S.: I'd gotten 9.99999999999E499. I only didn't get an overflow error because of flag -21 setting. Upon checking the CAS MODES screen I noticed Numeric had been checked. D'oh, just unchecking it might've been easier!
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Calculate 200^300 with SOLVE - tomisan - 02-28-2016, 12:01 PM
RE: Calculate 200^300 with SOLVE - Tugdual - 03-01-2016, 02:57 AM
RE: Calculate 200^300 with SOLVE - Gerson W. Barbosa - 03-02-2016 03:29 AM
RE: Calculate 200^300 with SOLVE - DavidM - 03-02-2016, 06:09 PM
RE: Calculate 200^300 with SOLVE - Tugdual - 03-01-2016, 08:49 PM
RE: Calculate 200^300 with SOLVE - Arno K - 03-01-2016, 09:18 PM
RE: Calculate 200^300 with SOLVE - Tugdual - 03-01-2016, 09:24 PM



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