Post Reply 
[42S] MANT Challenge
01-22-2014, 08:41 PM
Post: #10
RE: [42S] MANT Challenge
(01-22-2014 12:23 PM)Gerson W. Barbosa Wrote:  This should be quite easy on the HP-15C: 9 steps on my first attempt.
I talked too soon. It wouldn't work for |x| < 0.01. Despite my bad fix attempt, which made it three times as large, it won't work for |x| < 10^-10.
Code:

# --------------------------------------------
# HEWLETT·PACKARD 15C Simulator program
# Created with version 3.3.00
# --------------------------------------------
# --------------------------------------------

   000 {             } 
   001 {    42 21  0 } f LBL 0
   002 {       43 36 } g LSTx
   003 {          36 } ENTER
   004 {       43 13 } g LOG
   005 {       43 44 } g INT
   006 {          16 } CHS
   007 {           1 } 1
   008 {          40 } +
   009 {          13 } 10^x
   010 {          20 } ×
   011 {       44 36 } STO RAN#
   012 {       45 36 } RCL RAN#
   013 {    42 21 11 } f LBL A
   014 {    43 30  2 } g TEST x<0
   015 {          16 } CHS
   016 {       44 36 } STO RAN#
   017 {       45 36 } RCL RAN#
   018 {           1 } 1
   019 {           0 } 0
   020 {          20 } ×
   021 {           1 } 1
   022 {          16 } CHS
   023 {          34 } x<>y
   024 {          40 } +
   025 {    43 30  2 } g TEST x<0
   026 {       22  0 } GTO 0
   027 {       43 36 } g LSTx
   028 {       43 32 } g RTN

# --------------------------------------------
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
[42S] MANT Challenge - Werner - 01-22-2014, 09:40 AM
RE: [42S] MANT Challenge - Gerson W. Barbosa - 01-22-2014 08:41 PM
RE: [42S] MANT Challenge - Dieter - 01-22-2014, 08:58 PM
RE: [42S] MANT Challenge - Dieter - 01-22-2014, 09:40 PM
RE: [42S] MANT Challenge - Werner - 01-22-2014, 12:38 PM
RE: [42S] MANT Challenge - Dieter - 01-22-2014, 01:46 PM
RE: [42S] MANT Challenge - Werner - 01-22-2014, 02:17 PM
RE: [42S] MANT Challenge - Dieter - 01-22-2014, 02:24 PM
RE: [42S] MANT Challenge - Werner - 01-22-2014, 02:34 PM
RE: [42S] MANT Challenge - Dieter - 01-22-2014, 06:50 PM
RE: [42S] MANT Challenge - Dieter - 01-22-2014, 07:53 PM
RE: [42S] MANT Challenge - Thomas Klemm - 01-23-2014, 12:40 AM
RE: [42S] MANT Challenge - Werner - 01-23-2014, 07:46 AM
RE: [42S] MANT Challenge - Werner - 01-23-2014, 09:34 AM
RE: [42S] MANT Challenge - Werner - 01-23-2014, 11:02 AM
RE: [42S] MANT Challenge - walter b - 01-23-2014, 12:07 PM
RE: [42S] MANT Challenge - Dieter - 01-23-2014, 03:15 PM
RE: [42S] MANT Challenge - Dieter - 01-23-2014, 08:19 PM
RE: [42S] MANT Challenge - Werner - 01-23-2014, 09:06 PM
RE: [42S] MANT Challenge - Dieter - 01-23-2014, 09:53 PM
RE: [42S] MANT Challenge - walter b - 01-24-2014, 08:15 AM
RE: [42S] MANT Challenge - Werner - 01-24-2014, 06:16 AM



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