YaRPNcalc YaRPNcalc
Yet another RPN calculator for PocketPC. Yet another RPN calculator for PocketPC.

User Guide

About RPN

Read about Reverse Polish notation on Wikipedia.org.

Basic Operation

Use of the the left and right soft keys

Starting YaRPNcalc always shows you the Main screen which lets you enter numbers as well as make basic calculations.

The 'left soft key' usually toggles between the Menu screen and the Constants screen. When either the Menu screen or the Constants screen is active, the 'right soft key' will bring you back to the Main screen.

The 'right soft key' usually toggles between the Function screen and the Convert screen. When either the Function screen or the Convert screen is active, the 'left soft key' will bring you back to the Main screen.

Option buttons

Buttons drawn with a thick frame indicate that an option is enabled, e.g.

Save Stack is enabled
Save Stack is disabled

A thick frame can also indicate that a temporary mode is active, e.g. in Conversion Mode

Pressing a unit button will change the reference to that unit, but will not convert the value on the stack. The change reference mode will automatically be disabled after the reference has been changed.


A thick frame also indicates which one of a set of possible options is selected, e.g.

Deg is currently selected

Menu

Save Stack Saves the stack for the next session when the YaRPNcalc is closed via Exit or Close.
1000's Sep
  • Shows a thousands separator when in Decimal mode.
  • Shows a group (of 4) separator when in Hexadecimal or Octal mode.
  • Shows a group (of 8) separator when in Binary mode.
Undo Changes the date format. Can be:
  • d.my (dd.mmyyyy), e.g. 26.052007
  • m.dy (mm.ddyyyy), e.g. 5.262007
  • y.md (yyyy.mmdd), e.g. 2007.0526
Swap Swaps the two topmost elements on the stack.
Clear Clears the stack.
Undo Undos the last stack operation.

Functions

Stack
stack

Category A

A B C
sin asin y^x x root y
sine arc sine A^B B th root of A
cos acos ln e^x
cosine arc cosine natural logarithm e^x
tan atan % 1/x
tangent arc tangent B% of A reciprocal value
qconst x,y |x| qconv
pi convert polar to rectangular coordinates
x = B * cos(A) => B
y = B * sin(A) => A
absolute value last conversion used

Category B

A B C
sinh asinh x^2 root
hyperbolic sine hyperbolic arc sine x^2 square root
cosh acosh log 10^x
hyperbolic cosine hyperbolic arc cosine logarithm 10^x
tanh atanh delta % 1/x
hyperbolic tangent hyperbolic arc tangent percentage change
((B - A) / A) * 100
reciprocal value
qconst r,phi |x| qconv
pi convert rectangular to polar coordinates
r = sqrt(A^2 + B^2) => B
phi = atan(A / B) => A
absolute value last constant used

Category C

A B C
comb perm x!
combination
A! / B! * (A - B)!
permutation
A! / (A - B)!
factorial
max. x = 170
mean median variance sum
sum / number of elements on the stack median variance sum of all elements on the stack
>>HMS HMS>> + HMS - HMS
convert from decimal to HMS convert from HMS to decimal add HMS subtract HMS
now today + days delta days
push current time on the stack push current date on the stack add B days to date A number of days between dates A and B

Entering date and time

Enter time as: hh.mmss, e.g. 3.07127 would be 3 hours (or degrees), 7 minutes, 12.7 seconds

Dates have to be entered according to the date format selected on the Menu.

User Constants / Memory Locations

To save a value on the stack for later use it can be stored as a user constant. If you don't rename the constant there's no need to use the stylus. From the Main screen:

  1. Press the Menu button (left soft key)
  2. Press the Constants button (left soft key)
  3. Make sure User is selected
  4. Press the Edit button
  5. Press a constant button
  6. Optionally rename it
  7. Press the FROM STACK button
  8. Press the Ok button (right soft key)

User Function Layouts

You can define your own function layouts. To do this, create a file called UserFunctionLayouts.txt in the YaRPNcalc program directory (\Program Files\YaRPNCalc\). It's built up like this:

	[Name]
	(Main)
	Function1
	Function2
	(Tab1)
	Function3
	Function4
	(Tab2)
	Function5
where

The default function layouts are defined in the file FunctionLayouts.txt which has exactly the same format. Please use this as an example as well as to look up the correct function names. Note that the function names are currently case sensitive.

Expand FunctionsLayout.txt

Don't change the FunctionLayouts.txt file, it will be replaced when installing a new version of YaRPNcalc. If you want to change a default function layout, just give one of your user function layouts (in UserFunctionLayouts.txt) the same name as the default function layout you want to replace.