# PCalc 1.5 for the iPhone

March 29, 2009 at 11:15 PM by Dr. Drang

PCalc 1.5 for the iPhone arrived in the App Store a week or so ago, which has had two effects on me. First, it’s made me feel guilty about never finishing my Definitive Series on its configuration and use (which petered out after parts 1, 2, 3, and 4). Second, it’s made me happy to see two new sets of functions: one that I’ve been hoping for since I started using PCalc; and the other that caught me by surprise but which I expect to use regularly.

The two additions I’m excited about appear in the new Engineering layout. This is what the layout looks like normally

and this is what it looks like with the 2nd key activated

No, the colored boxes are not part of the layout; I overlaid them to draw your attention to the keys with the new functions.

The turquoise boxes surround the hyperbolic functions and their inverses, which are the functions I’d been waiting for. Apple’s iPhone calculator has these functions, as does every scientific calculator I’ve owned going back to the TI SR-52 I got as a high school graduation present. To me, their addition makes PCalc complete.

If you’re not familiar with hyperbolic functions, take a look at the Wikipedia and MathWorld articles about them. They arise most commonly in the solution of linear differential equations and appear in engineering formulas that express those solutions.

The magenta boxes highlight the functions that came totally out of left field. The Hyp button calculates the length of the hypotenuse of a right triangle, given the lengths of its two legs. For example, in RPN mode you’d press

- 3
- Enter
- 4
- Hyp

to get the answer 5. In Algebraic mode you’d press

- 3
- Hyp
- 4
- =

to do the same thing.

The Leg function runs the Pythagorean formula backwards. It calculates the length of one leg, given the lengths of the hypotenuse and the other leg. For example, in RPN you’d press

- 13
- Enter
- 5
- [2nd] Leg

to get the answer 12. In Algebraic mode you’d press

- 13
- [2nd] Leg
- 5
- =

to do the same thing.

These are delightful functions, because they take very common calculations and reduce them to the minimum number of keystrokes. No more square root of the sum (or difference) of squares. I’ve never owned, or even seen, a calculator with these functions, but they felt right as soon as I started using them.

PCalc’s functionality seems nearly complete. It’s not programmable, but programmable calculators seem vaguely anachronistic nowadays; also, Apple may not allow programmable apps for the iPhone. The only deficiency that comes to mind is its single memory location—seems a little chintzy on a 16 GB device.