easyRPNApp optimised for iPhone and iPad, available here
easyRPN is a calculator based on RPN logic.
Introduction
In reverse Polish notation the operators follow their operands; for instance, to add 3 and 4, one would write "3 4 +" rather than "3 + 4". If there are multiple operations, the operator is given immediately after its second operand; so the expression written "3 − 4 + 5" in conventional notation would be written "3 4 − 5 +" in RPN: 4 is first subtracted from 3, then 5 added to it. An advantage of RPN is that it removes the need for parentheses that are required by infix. While "3 − 4 × 5" can also be written "3 − (4 × 5)", that means something quite different from "(3 − 4) × 5". In postfix, the former could be written "3 4 5 × −", which unambiguously means "3 (4 5 ×) −" which reduces to "3 20 −"; the latter could be written "3 4 − 5 ×" (or 5 3 4 − ×, if keeping similar formatting), which unambiguously means "(3 4 −) 5 ×".
Despite the name, reverse Polish notation is not exactly the reverse of Polish notation, for the operands of non-commutative operations are still written in the conventional order (e.g. "÷ 6 3" in Polish notation and "6 3 ÷" in reverse Polish both evaluate to 2, whereas "3 6 ÷" in reverse Polish notation would evaluate to ½).
About easyRPN calculator
This calculator supports most of the basic calculus with both real and imaginary numbers, math function, statistical operators, engineering conversions and some physical constants.
The most common math functions are split in several views that can be reached swiping in the direction that connects the following view.
Math
Stat
Bin
Stack
Mode
Numerical pad
User interaction
Swipe Gesture
The up to four directional arrows displayed during a screen transition or pressing for more than one second the screen background, shoe the allowed swipe gestures to move in the other screens
Tap Gesture
A tap gesture on the three stack display lines copies the corresponding value to the edit text field.
Long Press Gesture
A long press on the screen will show the allowed swipe directions again.
User interaction.
Not yet Available.
easyRCC v1.0 (...)
- First release.
Known bugs
easyRPN v1.0 - Screenshots
easyRPN v1.0 - Layout
The layout of the calculator here showed in the following picture:
Each square is a button that is pressed links immediately to the corresponding calculator screen.
The association with the calculator functions is the following:
LogExp: exponential and logarithm function
Trig: trigonometric functions
Hyper: hyperbolic functions
Stat: statistical and combinatory calculus
Bin: hexadecimal, binary or octal operations
Cplx: complex numbers
Conv: engineering conversions
Const: physical and engineering constants
Info: status of the calculator
Help: help
Another operating mode to move from one calculator screen to another is based in swipe gesture.
The allowed swiping gesture are showed after the transition and represented by direction signs, as showed by next picture as example. The direction not allowed are showed as transparent.
Pressing the screen for a period longer than a second the swepe direction are showed again.
Useful links
Developing iOS 7 Apps for iPhone and iPad -STANFORD University - Online Course CS193P
The best course online about iOS7 and iPhone/iPad app programming using Objective C language I've found on iTunesU. The instructor of the course is excellent as well as his lectures and related documentation. After the first five lessons I was able to start developing this first app.
Stack Overflow is a question and answer site for professional and enthusiast programmers. I've found on this site answers to many issues encountered during the app development thanks to a very active community of iOS programmers.