App optimised for iPhone5 and iPad, download from: here
RPN Sweeping Calculator
A Scientific Calculator with support for decimal, hexadecimal and binary numerical base, that implements some scrolling views to access math functions, useful physical constants, engineering conversion units, material properties and the main keyboard, just sweeps them.The calculator implements the RPN (Reverse Polish Notation) working logic based on a stack with the last four entries directly showed in the display with x starting from the bottom then y. Another display works as a sort of log of the operational execution but it also helps the user with messages related to the requested function. This display is also editable and the system keyboard appears touching inside it. A simple sweep inside the display will close the system keyboard. Decimal, hexadecimal and binary numerical modes are supported tapping on the three-ways selector. The mapping of the main keyboard changes as function of the selected numerical modes with a flip of the overall display. In case of operational error (division by zero, log(0), ...) the user should perceive a vibration together with a random shaking of the overall display for half second. The app runs also in iPhone's 3.5" display but the sweeping horizontal list of the Material Properties has been removed to reserve enough space for the main keyboard.
RPN Sweeping Calculator v1.0 (Jan 23 2014)
- First release.
RPN Sweeping Calculator v1.1 (Jan 31 2014)
- Fixed some misspelled help text about the math function button list;
- Added display message in case of memory warning;
- Fixed bug related to 'EEX' and '.' keys resulting in a wrong calculation;
- Added some materials in the "Material Property" scrolling button list;
- Fixed an error about the physical unit of thermal conductivity;
- Some displayed sentences have been changed for better clarity.
RPN Sweeping Calculator v1.2 (Feb 22 2014)
- New: scrollview added for engineering measurement unit conversions;
- New: iPad display including retina are now fully supported;
- Reorganised display to allow more features in iPhone devices with smaller display (3"5);
- Minor bugs fixed.
Known bugs
RPN Sweeping Calculator Screenshots v1.1
Screenshots of release from iPhone5
RPN Sweeping Calculator Screenshots v1.2
Screenshots of release from iPhone5
Screenshots of release from iPad
RPNSweepingCalculator v1.1 - Layout and sweeping areas
RPNSweepingCalculator v1.2 - Layout and sweeping areas
Implemented Math Functions (v1.0, v1.1, v1.2)
exponential of (x) exponential of (x-1) natural logarithm of (1+x) (x)-th power of 10 base 10 logarithm of (x) (x)-th power of 2 base 2 logarithm of (x) logarithm of (x) in [y] base 2nd power of (x) reciprocal of (x) 3rd power of (x) factorial of (x) binomial coefficient equal to y!/(x!*(y-x)!) square root of (x) cube root of (x) (x)-th power of (y) arc cosine of (x) arc sine of (x) arc tangent of (x) cosine of (x) sine of (x) tangent of (x) cotangent of (x) = cos(x)/sin(x) cosecant of (x) = 1/sin(x) secant of (x) = 1/cos(x) sine of (x+y), sin(x)*cos(y)+cos(x)*sin(y) sine of (x-y), sin(x)*cos(y)-cos(x)*sin(y) cosine of (x+y), cos(x)*cos(y)-sin(x)*sin(y) cosine of (x-y), cos(x)*cos(y)+sin(x)*sin(y) hyperbolic cosecant of (x) hyperbolic secant of (x) hyperbolic cotangent of (x) hyperbolic cosine of (x) = (e^(x)+e^(-x))/2 hyperbolic sine of (x) = (e^(x)-e^(-x))/2 hyperbolic tangent of (x) = sinh(x)/cosh(x) error function at (x) complementary error function at (x) gamma function of (x) natural logarithm of the absolute value of the Gamma function at (x)
Numerical Operators (v1.0, v1.1, v1.2)
FLOOR (upper integer) CEIL (lower integer) FRAC (fractional part) y%x (y modulus x) ABS (absolute value)
Binary Operators (v1.0, v1.1, v1.2) NOT (1's complement of x) 2's (x binary 2's complemented) AND (x binary AND y) OR (x binary OR y) XOR (x binary exclusive OR y) << (y binary shifted of 1 bit to left) >> (y binary shifted of 1 bit to left) y << x (y binary shifted of x bits to left) y >> x (y binary shifted of x bits to right) ROR (binary rotation to right of x) ROL (binary rotation to left of x)
Statistical Operators (v1.0, v1.1, v1.2) AVE (average of all values in the stack) STD (standard deviation of all values in the stack)
Coordinate Conversions (v1.0, v1.1, v1.2)
Cartesian (x,y) to polar coordinates radius Cartesian (x,y) to polar coordinates angle Polar (r,a) to Cartesian coordinate x Polar (r,a) to Cartesian coordinate y
Physical Constants (v1.0, v1.1, v1.2)
Archimede's constant
Eulero's constant
Phytagora's constant
speed of light in vacuum
standard acceleration of gravity on Earth
Newtonian constant of Gravitation
Planck's constant
Boltzmann's constant
Stefan-Boltzmann's constant
Avogadro's number
Gas constant
Elementary charge
Mass of electron
Mass of proton
Mass of neutron
Standard atmosphere
Vacuum permeability
Vacuum permittivity
Engineering Conversions (v1.2)
angle in deg equivalent to (y) time period at (x) rpm
angle in deg equivalent to 1us period at (x) rpm
angle in deg equivalent to 1ms period at (x) rpm
angle in deg equivalent to 1s period at (x) rpm
time in seconds equivalent to a deg rotation at (x) rpm
time in seconds equivalent to 1 deg rotation at (x) rpm
time in seconds equivalent to 6 deg rotation at (x) rpm
time in seconds equivalent to 90 deg rotation at (x) rpm
time in seconds equivalent to 120 deg rotation at (x) rpm
time in seconds equivalent to 180 deg rotation at (x) rpm
time in seconds equivalent to 360 deg rotation at (x) rpm
time in seconds equivalent to 720 deg rotation at (x) rpm
fuel consumption from liters per 100km to kilometers per liter
fuel consumption from kilometers per liter to liters per 100 km
miles per hour to kilometers per hours
kilometers per hour to miles per hour
°C Celsius to K Kelvin temperature degrees
K Kelvin to °C Celsius temperature degrees
°C Celsius to °F Fahrenheit temperature degrees
°F Fahrenheit to °C temperature degrees
Joule (kg*m2/s2) to Calorie energy unit
Calorie to Joule (kg*m2/s2) energy unit
Joule (kg*m2/s2) to electron-volt energy unit
electron-volt to Joule (kg*m2/s2) energy unit
Joule (kg*m2/s2) to kilo Watt x h energy unit
kilo Watt x h to Joule (kg*m2/s2) energy unit
Watt to horse power unit
horse power to Watt unit
miles to kilometers
kilometers to miles
meters to inches length unit
inches to meters length unit
light year to meters length unit
Astronomic Unit to meters length unit
kilograms to ounces mass unit
ounces to kilograms mass unit
Material Properties (v1.0, v1.1, v1.2, only on iPhone5 and iPad displays)
Silver electrical resistivity
Copper electrical resistivity
Gold electrical resistivity
Aluminium electrical resistivity
Tin electrical resistivity
Silver electrical resistivity temperature coefficient
Copper electrical resistivity temperature coefficient
Gold electrical resistivity temperature coefficient
Aluminium electrical resistivity temperature coefficient
Tin electrical resistivity temperature coefficient
Silver coefficient of thermal conductivity
Copper coefficient of thermal conductivity
Gold coefficient of thermal conductivity
Aluminium coefficient of thermal conductivity
Tin coefficient of thermal conductivity
Steel coefficient of thermal conductivity (v1.1, v1.2)
Glass coefficient of thermal conductivity (v1.1, v1.2)
Silver density
Copper density
Gold density
Aluminium density
Tin density
Silver coefficient of thermal expansion
Copper coefficient of thermal expansion
Gold coefficient of thermal expansion
Aluminium coefficient of thermal expansion
Tin coefficient of thermal expansion
Steel coefficient of thermal expansion (v1.1, v1.2)
Platinum coefficient of thermal expansion (v1.1, v1.2)
Glass coefficient of thermal expansion (v1.1, v1.2)
Glass relative permittivity
Mica relative permittivity
Mylar relative permittivity
Polyester relative permittivity
Polycarbonate relative permittivity
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.
RPN on wikipedia, the free encyclopedia
Reverse Polish notation (RPN) is a mathematical notation in which every operator follows all of its operands, in contrast to Polish notation, which puts the operator in the prefix position. 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.