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.
Features
Expression calculation
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.
Plotting graphs
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.
Variables
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.
Date calculation
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 right.
Bitwise operations
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.