Post Reply 
HP Calculator Applications in the Workplace
07-14-2014, 05:16 PM (This post was last modified: 07-14-2014 05:21 PM by Egan Ford.)
Post: #23
RE: HP Calculator Applications in the Workplace
(07-14-2014 06:04 AM)Thomas Klemm Wrote:  
(07-14-2014 03:21 AM)Egan Ford Wrote:  I use a command line RPN calculator for quick math
What do you use? Is it "dc"?

No, I use "calc", it's part of MAPM (http://www.tc.umn.edu/~ringx004/mapm-main.html).

calc unlike dc just uses the command line args, e.g.:

Code:
calc 2 2 x

vs.

Code:
echo "2 2 * p" | dc

Calc operations:

Code:
calc [-d##] <numbers,operators>                         [Version 2.3]
      -d : specify decimal places, default = 30         [MAPM Version 4.9.5]

operators :  + : add                           s : sin
             - : subtract                      c : cos
             x : multiply (*)                  t : tan
             / : divide                        q : sqrt
             \ : integer divide (i)           as : arc-sin
             ! : factorial                    ac : arc-cos
            x2 : x ^ 2                        at : arc-tan
             r : 1 / x                       at2 : arc-tan2 (y,x)
            lg : log                           e : e ^ x
          lg10 : log10                         p : y ^ x
            xy : x<>y (exchange x,y)           n : +/- (negate (h))
            hs : sinh                        has : arc-sinh
            hc : cosh                        hac : arc-cosh
            ht : tanh                        hat : arc-tanh
             b : cube root                     d : dup (HP-Enter)
             f : floor                        cl : ceil
           gcd : GCD                         lcm : LCM
            s# : save memory, # = 0-9,a-z     r# : recall memory, # = 0-9,a-z
            pi : 3.14159..                   mod : modulus (%)

dc has bases and stack-nastics, but for basic math, calc is a better fit for me.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: HP Calculator Applications in the Workplace - Egan Ford - 07-14-2014 05:16 PM



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