Console calculator is a simple, yet useful, expression calculator, supporting functions and variables.
You can type help at the prompt to get a list of supported functions. The list can be easily extended programmatically. There is no way to define new functions at the moment. This will be considered for a future release.
Doing calculations is fairly easy. Here are some examples with their output:

>> 2+3*4+5
ans = 19

>> sin(30)
ans = -0.988031624092862

>> set deg
Ok.

>> sin(30)
ans = 0.5

>> 2*pi
ans = 6.28318530717959

>> x=cos(60)*10
ans = 5

>> sqrt(x)
ans = 2.23606797749979

Last edited Apr 23, 2010 at 5:10 PM by zodiacon, version 4

Comments

No comments yet.