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
 tomisan Junior Member Posts: 10 Joined: May 2014
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.
 « Next Oldest | Next Newest »

 Messages In This Thread Calculate 200^300 with SOLVE - tomisan - 02-28-2016 12:01 PM RE: Calculate 200^300 with SOLVE - Gerson W. Barbosa - 02-28-2016, 05:25 PM RE: Calculate 200^300 with SOLVE - Gerald H - 02-28-2016, 06:59 PM RE: Calculate 200^300 with SOLVE - Tugdual - 03-01-2016, 02:57 AM RE: Calculate 200^300 with SOLVE - Steve Simpkin - 03-01-2016, 06:18 AM RE: Calculate 200^300 with SOLVE - Gerson W. Barbosa - 03-01-2016, 02:25 PM RE: Calculate 200^300 with SOLVE - John Keith - 03-02-2016, 02:22 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 - Claudio L. - 03-03-2016, 09:19 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)