Post Reply 
Announce: HP-15C Simulator / Release 3.3.00, Build 5403
01-19-2014, 09:19 PM
Post: #1
Announce: HP-15C Simulator / Release 3.3.00, Build 5403
I am pleased to announce a new version of my HP-15C Simulator for Windows, Linux and Mac OS X: Release 3.3.00, Build 5403.

[Image: HP-15C.png]

It can be downloaded from the simulator home page.
Find all posts by this user
Quote this message in a reply
01-19-2014, 10:00 PM
Post: #2
RE: Announce: HP-15C Simulator / Release 3.3.00, Build 5403
Thank you for the new version. Excellent work!

Namir
Find all posts by this user
Quote this message in a reply
01-19-2014, 11:28 PM (This post was last modified: 01-19-2014 11:51 PM by Jeff_Kearns.)
Post: #3
RE: Announce: HP-15C Simulator / Release 3.3.00, Build 5403
Torsten,

Great simulator indeed. I do have a question regarding internal accuracy of calculations. When I run the example in the TVM program, I get the following:

Torsten HP-15C Simulator: 333,783.2505
Official HP-15C Emulator: 333,783.3508
Real HP-15C and HP-15 LE: 333,783.3508
Swiss Micro DM-15: 333,783.3508
Correct answer: 333,783.349948 (HP-30b, HP-19BII and HP-17BII)

What do you believe causes this discrepancy? Can it be identified and addressed in a subsequent release? I actually prefer the interface of your simulator over the official emulator (even if it is a bit slower).

Regards,

Jeff
Find all posts by this user
Quote this message in a reply
01-20-2014, 10:27 AM
Post: #4
RE: Announce: HP-15C Simulator / Release 3.3.00, Build 5403
Mike,

My point is that the simulator is 'incorrect' by $0.10.

Jeff
Find all posts by this user
Quote this message in a reply
01-20-2014, 09:15 PM
Post: #5
RE: Announce: HP-15C Simulator / Release 3.3.00, Build 5403
Great tool and nice listings! Thank you very much!

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

   000 {             } 
   001 {    42 21 11 } f LBL A
   002 {       43 11 } g x²
   003 {       43 36 } g LSTx
   004 {          40 } +
   005 {           2 } 2
   006 {          10 } ÷
   007 {       43 32 } g RTN

# --------------------------------------------
Find all posts by this user
Quote this message in a reply
01-20-2014, 09:19 PM
Post: #6
RE: Announce: HP-15C Simulator / Release 3.3.00, Build 5403
Jeff,

I can not confirm your result of 333.783,2505 for my simulator.

I have tested it on Windows 7 64bit and XP 32bit. In both cases, I got the "correct" result of 333.783,3499484285. The simulator uses the full 17 digits available in IEEE format.
If "Strict HP-15C behaviour" is checked in the "Preferences", the result is the same as with the hardware models: 333.783,3508. In "strict mode", the precision is reduced to the 10 digits of the emulators using a copy of the original ROM.

Torsten
Find all posts by this user
Quote this message in a reply
01-20-2014, 09:24 PM
Post: #7
RE: Announce: HP-15C Simulator / Release 3.3.00, Build 5403
(01-20-2014 09:15 PM)Gerson W. Barbosa Wrote:  Great tool and nice listings! Thank you very much!

Did you see the HTML export? It's even nicer ;-)

Torsten
Find all posts by this user
Quote this message in a reply
01-20-2014, 10:17 PM
Post: #8
RE: Announce: HP-15C Simulator / Release 3.3.00, Build 5403
(01-20-2014 09:24 PM)Torsten Wrote:  
(01-20-2014 09:15 PM)Gerson W. Barbosa Wrote:  Great tool and nice listings! Thank you very much!

Did you see the HTML export? It's even nicer ;-)

Torsten

Indeed!

[Image: Gauss_HP-15C_zpsec34727a.png]

And that's only the listing! Thanks again!

Gerson.
Find all posts by this user
Quote this message in a reply
01-20-2014, 11:07 PM (This post was last modified: 01-20-2014 11:13 PM by Jeff_Kearns.)
Post: #9
RE: Announce: HP-15C Simulator / Release 3.3.00, Build 5403
(01-20-2014 09:19 PM)Torsten Wrote:  I can not confirm your result of 333.783,2505 for my simulator.

Torsten:

Thanks for your reply. I re-checked the program listing and it was accurate. I checked the "Strict HP-15C behaviour" and still it gave the same result: 333.783,2505. I was (or so I thought) meticulous in conducting the test the first time.

Then I verified the storage registers and 0.089633601 instead of '0' was found in register 3. I saved 0 in register 3 and it then gave the correct result. I will assume that I erred and I apologize for raising any concerns about your excellent simulator. It is a very impressive piece of work indeed. Not only that, it is even more accurate (in that it more closely matches the results of the financial calculators) when the "Strict HP-15C behaviour" is left unchecked.

Regards,

Jeff
Find all posts by this user
Quote this message in a reply
01-21-2014, 04:09 AM
Post: #10
RE: Announce: HP-15C Simulator / Release 3.3.00, Build 5403
(01-20-2014 09:24 PM)Torsten Wrote:  Did you see the HTML export? It's even nicer ;-)

Torsten

Is it me, or RollUp icon in HTML has rectangle after 'R' rather than an up arrow?
Great job otherwise, cheers!
Find all posts by this user
Quote this message in a reply
01-21-2014, 10:42 AM
Post: #11
RE: Announce: HP-15C Simulator / Release 3.3.00, Build 5403
Quote:Is it me, or RollUp icon in HTML has rectangle after 'R' rather than an up arrow?
Great job otherwise, cheers!

This is a font issue. You do not have a font on your system, that has the character. I recommend to install the DejaVu Fonts. There are more details in the simulator help files under "Usage | Preferences | Font Settings".

Torsten
Find all posts by this user
Quote this message in a reply
01-22-2014, 12:23 AM
Post: #12
RE: Announce: HP-15C Simulator / Release 3.3.00, Build 5403
(01-21-2014 10:42 AM)Torsten Wrote:  This is a font issue. You do not have a font on your system, that has the character. I recommend to install the DejaVu Fonts.

Torsten

Thanks a lot, it all works perfectly now.
Cheers,
Find all posts by this user
Quote this message in a reply
01-23-2014, 03:23 PM
Post: #13
RE: Announce: HP-15C Simulator / Release 3.3.00, Build 5403
Torsten,

I finally got a chance to spend some time using the simulator. Great work! Thank you.

"Science is a wonderful thing if one does not have to earn one's living at it." -- Albert Einstein
Find all posts by this user
Quote this message in a reply
01-24-2014, 05:35 AM (This post was last modified: 01-24-2014 10:04 AM by RMollov.)
Post: #14
RE: Announce: HP-15C Simulator / Release 3.3.00, Build 5403
Solver problem.
Corrected after Walter's findings.

EQN:

R*( TAN (ACOS (R/(R+h))) - ACOS(R/(R+h)) ) - dL/2 = 0

R= 6,371,000m (stored in register .0)
dL=1m (stored in register 0)

h=?



Code:

   000 {             } 
   001 {    42 21 11 } f LBL A
   002 { 45 40 48  0 } RCL ✛ .0
   003 { 45 10 48  0 } RCL ÷ .0
   004 {          15 } 1/x
   005 {       43 24 } g COS-¹
   006 {          25 } TAN
   007 {       43 36 } g LSTx
   008 {          30 } −
   009 { 45 20 48  0 } RCL ✕ .0
   010 {    45 30  0 } RCL − 0
   011 {       43 32 } g RTN



RAD mode
Initial Guesses: 0, 1

Solve 'A' ->

Returns solver error unlike all HP calculators I have.
I realize this simulator uses different algorithm but never the less.
WP-34s also struggles at this.
I'm wondering if I'm doing something wrong.

I found interesting differences in answers given by: HP48G, HP35s and HP15c LE - real calculators and simulators: iPhone's 42S and Free15c. They all solve the case.

Regards,
Find all posts by this user
Quote this message in a reply
01-24-2014, 08:22 AM
Post: #15
RE: Announce: HP-15C Simulator / Release 3.3.00, Build 5403
(01-24-2014 05:35 AM)RMollov Wrote:  Solver problem.

EQN:

R(TAN (ACOS (R/(R+h)) - ACOS(R/(R+h))) - dL/2 = 0

R= 6,371,000m
dL=1m
h=?

...

RAD mode
Initial Guesses: 0, 1

Returns solver error unlike all HP calculators I have.
I realize this simulator uses different algorithm but never the less.
BTW WP-34s also struggles at this.
I'm wandering if I'm doing something wrong.

I'm wondering if your EQN is wrong. I can simplify it to R(0) - dL/2 = 0 which doesn't include h anymore. Undecided
Find all posts by this user
Quote this message in a reply
01-24-2014, 09:50 AM (This post was last modified: 01-24-2014 09:53 AM by RMollov.)
Post: #16
RE: Announce: HP-15C Simulator / Release 3.3.00, Build 5403
(01-24-2014 08:22 AM)walter b Wrote:  I'm wondering if your EQN is wrong. I can simplify it to R(0) - dL/2 = 0 which doesn't include h anymore. Undecided

You're always correct, thank you for correcting my typos.

It should be:

R*( TAN(ACOS (R/(R+h))) - ACOS(R/(R+h)) ) - dL/2 = 0

Did I count the brackets properly this time?
I'll correct my original post accordingly.

The HP15c listing above is right though.
Shall I post the WP34s version, which also doesn't seem to work? Wink

Regards,
Find all posts by this user
Quote this message in a reply
01-24-2014, 12:10 PM
Post: #17
RE: Announce: HP-15C Simulator / Release 3.3.00, Build 5403
(01-24-2014 09:50 AM)RMollov Wrote:  Shall I post the WP34s version, which also doesn't seem to work? Wink

Feel free to do so.

d:-)
Find all posts by this user
Quote this message in a reply
01-24-2014, 07:15 PM
Post: #18
RE: Announce: HP-15C Simulator / Release 3.3.00, Build 5403
Very nice. Runs over 50 times faster on my Linux based computer than the HP-15C LE.
Find all posts by this user
Quote this message in a reply
01-24-2014, 07:21 PM
Post: #19
RE: Announce: HP-15C Simulator / Release 3.3.00, Build 5403
Hello RMollov,

which kind of problem do you describe?

Quote:R*( TAN (ACOS (R/(R+h))) - ACOS(R/(R+h)) ) - dL/2 = 0

R= 6,371,000m (stored in register .0)
dL=1m (stored in register 0)

h=?
The value of R looks like the earth radius for me. And as a not very well scaled problem.

Greetings
peacecalc
Find all posts by this user
Quote this message in a reply
01-25-2014, 03:29 AM
Post: #20
RE: Announce: HP-15C Simulator / Release 3.3.00, Build 5403
Quote:R*( TAN (ACOS (R/(R+h))) - ACOS(R/(R+h)) ) - dL/2 = 0

R= 6,371,000m (stored in register .0)
dL=1m (stored in register 0)

h=?
In register 0 the value dL/2 = 0.5 should be stored.

Quote:The value of R looks like the earth radius for me. And as a not very well scaled problem.
I guess it's the solution to a rope around the earth problem:
Take 3 of Sweet & Short Math Challenges #15: April 1st Spring Special

Cheers
Thomas
Find all posts by this user
Quote this message in a reply
Post Reply 




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