Post Reply 
Calculate 200^300 with SOLVE
02-28-2016, 12:01 PM (This post was last modified: 02-28-2016 12:19 PM by tomisan.)
Post: #1
Calculate 200^300 with SOLVE
I use this short program on my 42S to get an approximate answer for exponentiation of large arguments, e.g. 200^300 = 2.037x10^690

00 {15-Byte Prgm}
01 LBL "~Y↑X"
02 X<>Y
03 LOG
04 x
05 IP
06 LASTX
07 FP
08 10↑X
09 END

200 <ENTER> 300 <XEQ> ~Y↑X gives
X:2.03703597073 Y:690

Playing with my newly acquired 17BII I came up with the following SOLVE equation (works also on the 17BII+):

~Y'X:
0xL(E:IP(L(M1:LOG(Y)xX)))+
0xL(M:ALOG(FP(G(M1))))+
IF(S(MANT):MANT-G(M):EXP-G(E))=0

SOLVE is fun to use and amazingly powerful.
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 - 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: 2 Guest(s)