Command Line Calculator is general purpose calculator.
Calculations are entered on command line and result is produced after
pressing enter – see picture on right of typical calculations.
The main features of the program are:
calculation, unlimited length
can be used
can define own functions
and opening previous calculations
file and history list
numbers are supported: decimal, hex, octal and binary
operations are supported
70 in build functions available
There is no limit to the length of expression, which can be entered into
calculation. Program supports variables and most of the typical functions
like trigonometric functions, logarithms, basic operations and so on, see
more details from the help page.
One can also do one variable plots with plot command. In the picture is shown
functions “sin(x)/x”, “sin(1.2*x)/x” and “sin(1.4*x)/x”. User can zoom and
pan the plot with mouse’s left and right button and with double click – see
picture on right.
All calculations are stored into history list, from where one get them by
pressing space bar.
One can set variables. For example writing w=98, sets w’s value to 98. Variables
can then be used later in calculations. For example w+3 would give 101. There
is also separate window for variables, which can be used together with main
window. See under menu item “View”.
User defined functions
User can set his or hers functions. For example f(x)=x+2*sin(x). See picture
on right for more details.
User can set multi variable functions. User can also call earlier defined
functions in the later functions. For example in the picture on right one can
see that function “y” is used also in the function “g”.
Opening and saving calculations
User can save his or hers strings into a file and use them later.
Temporary file and history list
All calculations are stored into a history list. One can access these
calculations by pressing space bar. These calculations are also saved into a
temporary file. So when program is started again one can access previously
calculated functions if needed.
One can calculate how many days there are between two dates or what is a date,
when certain number of days are added or deleted from a date. See picture on
Bitwise operations like and, or, xor, not,
eqv, imp and shifting is also supported. One can combine these operations and
functions with other in build and user defined functions.
On the right one can see available
statistical calculations. Following functions are supported:
Min: minimum of user entered data set
Max: maximum of user entered data set
Number of elements: is number of user entered
Mean: mean or average of user entered data
Median: is the middle value of the user
entered numbers, when all numbers have been put into order from smallest to
Sum: Sum of all user entered numbers
Sum of square: Sum of square of user entered
Range: Maximum value minus minimum value, it
provides indication of statistical dispersion
Standard deviation: Standard deviation is
measure of variability or dispersion of data set. Standard deviation is
square root of variance
Variance: Variance is square of standard
deviation - see above
Kurtosis: Kurtosis is measure of peakedness
of data set
Skewness: Skewness is measure of asymmetry of
user entered data
Geometric mean: User entered numbers (n
numbers) are multiplied and then nth root is taken from the result.
Mid-range: Mid range is average of maximum
and minimum values
Alltogether over 70 in build functions readily
available. And user can add upto 1000 own functions