Generic Calculator
Show/Hide:
Definitions
Formulae
Instructions
Introduction:
This page allows you to input any algebraic formula and calculate its value repeatedly for any combination of values.
Click on any of the links at the top of the page to reveal (or hide) more information about this calculator.
Caveats:
If you are reading this paragraph, then you probably don't have JavaScript installed/enabled on your computer.
At this point in time the calculators on this site are entirely dependent on JavaScript.
Given enough time and money it is hoped to develop a version in the future which will be able to operate independently.
Since JavaScript runs on your own computer, rather than on this server, it has been possible to set up this site much more quickly than if a server-side language was used, and it is possible to serve far more pages with the available bandwidth.
If you think that you can assist with this project in any way, then please visit the Support section and leave a message.
Definitions:
- Formula
-
Any simple Algebraic or Arithmetical equation can be entered into this calculator.
Instructions
- Enter your formula / equation into the box marked Input / Formula.
- Click the 'CalcResult' button below the input field.
- A 'Results Area' will be displayed below.
- You will be prompted to enter a numeric value for each variable/placeholder in your formula.
- The full calculation, with the numeric values substituted, will be added to the 'Results Area', along with the calculated result.
- To do further calculations simply change the formula in the input fields (if necessary) and click the 'CalcResult' button again. (Press the 'Clear Form' button if you want to empty both the input and output fields.)
- Press the 'Clear Results' button if you wish to discard the first results, otherwise further calculations will be added into the same area.
- Click the 'CalcResult' button again
- Click the 'Print Results' button to display all current results in a new, printable window.
Notes:
The calculator on this page will allow you to work out equations that are small and simple, or extremely complex if necessary.
There are a few limitations however:
- Normal rules of precedance apply, ie multiplication and division is carried out before addition and subtraction.
- You may use standard parantheses; '(' and ')' to bracket sections of your formula to ensure that each portion is evaluated in the order you expect.
- Each section of the formula must be separated from its neighbours with a [space] character, even brackets and operators.
This calculator differs from the
simpler version in the following ways:
- Variables can consist of multiple characters
- Operations are no longer limited to: * (multiplication), + (addition), - (subtraction), / (division), % (modulus). The drop-down box labeled 'Function List' automatically appends the correct code for that
function to the current formula. You may change the variable that is inserted for a different letter, or make it into a compound statement if required.
If you find this calulator too complex, try
a simpler version of this calculator.
© Copyright Mike Brockington 2004 - 2024 All Rights Reserved