Post Reply 
SP15C special simulator
10-29-2024, 09:07 AM (This post was last modified: 11-04-2024 08:20 PM by Pekis.)
Post: #1
SP15C special simulator
Hello,

Here is a short video of my Android (Java) special simulator,

https://www.youtube.com/watch?v=10Raywtt6xo

I hope you enjoy it ...

Main differences:

No Complex mode nor MATRIX operations
10 digits displayed (Calculations made with Java Double type, up to 10^307, 0^0 = 1 Smile
Dot Matrix Display, visual keypress feedback
Alphanumeric error messages
Up to 1000 registers (default: 100)
Up to 10000 program lines (with alphanumeric symbols (includes TEST and HYP functions) or key codes (pressing the display))
Export/Import programs with the clipBoard
Automatically saving state (incl. programs) to SQLite database
CLEAR PRGM in EDIT mode aks for confirmation
PSE while running program displays X for about 1 second, without stopping the program
GSB deepest level: 100
All flags are user flags (no system flags)
SOLVE implements Secant method
INTEG implements Simpson method (Revival)
STO RAN#, Re<>im, MATRIX, RESULT, MEM (useless) are inactive
Find all posts by this user
Quote this message in a reply
11-04-2024, 09:00 PM (This post was last modified: 11-04-2024 09:03 PM by Pekis.)
Post: #2
RE: SP15C special simulator
Hello,

Well, I've had much fun coding this special simulator for Android in Java, with RPN programming interface, Solve and Integrate, and with a Sharp-like dot matrix display (dynamic drawing of each dot...) (see photos below)

The main advantages are the alphanumeric display (seeing "RCL DIM (i)" is much more appealing than "45 23 24" ... but you can see the opcodes after pressing the display), and the rounding mode is displayed on the side ("fix4" for example), along with angle mode and user mode.

I also implemented the Solve/Integrate so that, if you launch it from normal mode, you can see the last estimation flashing after each second, instead of only seeing the flashing "running"

The main difficulties were implementing the devilish stackLift, the interpreter and controlling the Solve/Integrate execution.

FYI, I changed the integration method from Romberg to Simpson (Revival), and the GSB I (I<0) gets the job done like it had to Smile

There is no complex or matrix support, but it's rather difficult to code and use it the HP way ...

[Image: Screenshot-20241104-212210.jpg]

[Image: Screenshot-20241104-212250.jpg]
Find all posts by this user
Quote this message in a reply
Post Reply 




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