Java Scientific Calculator

Links

Home ·
Download ·
Design and operation ·
Modes ·
Accuracy of calculations ·
Numbers and arithmetic ·
Roots, powers and logs ·
Trigonometric functions ·
Factorials and combinations ·
Logical functions ·
Memory ·
Statistical calculations ·
Variable expressions ·
Graphing functions ·
Other features and functions ·
Modifying the code ·
Testing the code ·
Known issues ·
Similar projects ·

Design and operation

The calculator is designed to resemble a standard scientific calculator. So it has buttons aligned and grouped by similarity of function. The buttons and input and output try to use a high-quality formatted display.

The calculator is designed as much to show how a real calculator works as it is to replace one. Most things you can do on a calculator, you can also do on a spreasheet. But sometimes it’s nice to have a calculator available for quick calculations.

Basic operation

To use the calculator, first press the ac button (key ‘o’). Then other buttons become available. The equals button (key ‘=’ or ‘enter’) causes the calculator to compute the value of any expression you have typed. The ans button (key ‘a’) allows you to use the value of the last computed value as part of the input to a new calculation. You can use the off button (key ‘Q’) to switch the display off. This is largely a cosmetic effect because memory and statistical values and calculator state are preserved. These values are not preserved if you close the application.

You can use the shift button (key ‘space bar’) to access an extended range of functions. The range of functions available will depend on the mode and state of the calculator.

Editing functions

The calculator has left and right buttons, operated by cursor keys, and a delete button (key ‘delete’) to allow you to edit the expressions you enter. You can also use the ac button to clear the entire expression. The length of the expression is limited only by the memory available to Java; so it is unlikely you will ever run out.

The up and down buttons, operated by cursor keys, allow you to move backward and forward through a list of recently evaluated expressions. So you can go back and change a recently-evaluated expression.


Last modified: Sat 31 May 2008 01:10 pm

SourceForge.net Logo