0.1.3 • Published 7 years ago

calc-cli v0.1.3

Weekly downloads
7
License
MIT
Repository
github
Last release
7 years ago

Calc

Calc is a CLI implementation of Algebrite. Most functions avaliable in algebrite can be used in calc.

npm i -g calc-cli

Usage

Oh, how simple it is:

$ calc <operation> <expression>
# or
$ calc <expression>

# some examples
$ calc derivative x^2
  2 x
$ calc 'derivative(x^2)'
  2 x
$ calc 2 ^ 3 + 5
  13

calc

Useful aliases

AliasOperationUsage
d
derivate
derivativederivatived x^2
i
integrate
integralintegrali x^2
area
areaunder
defintdefitarea x^2, x, 1, 2

Quirks

Because of how bash works, if you choose to use reserved symbols, like (, ), or *, you're better off putting your argument in quotations.

0.1.3

7 years ago

0.1.2

7 years ago

0.1.0

7 years ago

0.0.2

7 years ago

0.0.1

7 years ago