GraphApplet 1.0 |
Author Patrik Lundin, plundin@javathings.com, http://www.javathings.com
Description
How To Setup The Applet
All Functions
The GraphApplet 1.0 is a full featured Graphing Calculator with some rare features added. It is recommended that you use Netscape 4.x or higher or IE 4.x or higher
for this applet and
The GraphApplet has all the common operators and functions as expected
from any scientific
The GraphApplet supports juxtaposition which means you can write your
expressions just as you
The GraphApplet has support for symbolic differentiation using the diff function. To use the applet as a calculator click on the buttons or use the keyboard
to form your expression
To draw a function enter the function by clicking on the buttons or
enter them with the keyboard
To clear the input field click the Clear button, to clear a individual
drawed function double click on the
To enter something into memory first click the M-> button and
click on either m1 or m2,
Follow these steps to setup the applet on your webpage: 1. Copy the file called gapplet.jar to the same folder as your web pages are in. 2. Copy this applet HTML tag to the page where you want to use the applet : <applet archive="gapplet.jar" code="GraphApplet.class"
width=655 height=360>
3. Open the page in a webbrowser that supports Java and
start to use the GraphApplet.
Calculator Controls Eval - Evaluates an expression, the calculator
first tries to evaluate the expression,
Clear - Clears the input area. PlotF - Plots a function of type y=f(x) ZOut - Zooms out the current area with a factor of
x2.
Reset - Reset the bounds to the original x:[-10,10] y:[-10,10] Cls - Clears the whole drawing
area and all functions.
M-> - Enters an expression or a value into memory, first click this button and then choose either m1 or m2 MCls - Clears the memory, first click this button and then
on either m1 or m2 to clear that memory.
m1 - Memory 1 m2 - Memory 2
Operators and Functions sqrt - sqrt of a value or expression. sin - sin of a value or expression. cos - cos of a value or expression. tan - tan of a value or expression. atan - atan of a value or expression. acos - acos of a value or expression. asin - asin of a value or expression. acotan - acotan of a value or expression. exp - The constant euler raised to a value or expression. ln - The natural logarithm. 10log - The 10 logarithm of a value or expression. fac - The faculty of a value or expression. diff - Symbolically differentiates an expression of one variable pi - The constant PI euler - The Euler constant, base for the natural logarithm. + - Addition operator. - - Subtraction operator. * - Multiplication operator. / - Division operator. ^ - Raised
to operator.
The calculator also supports the following functions when entered through the keyboard: sinh - Hyperbolic sine cosh - Hyperbolic cosine tanh - Hyperbolic tangens abs - Absolute value of value or expression. ceil
- Returns the smallest (closest to negative infinity)
floor - Returns
the largest (closest to positive infinity)
sfac - Semifaculty of value or expression. round - rounds the argument
to the closest mathematical integer.
fpart - returns the decimalvalue of its argument [base]log(..) - any logaritm. Example: 10log(10) = 1.0, exp(1)log(exp(1)) = 1.0 % - Modulo. == - Equal, returns 1.0 if it's arguments are equal or 0.0 othervise. != - Not Equal, returns 1.0 if it's arguments are not equal or 0.0 othervise. && - And, returns 1.0 if both arguments evaluates to 1.0, or 0.0 othervise. || - Or, returns 1.0 if any of it's arguments evaluates to 1.0, or 0.0 othervise. >
- Larger than, returns 1.0 if the value of the argument to the left is
larger
<
- Less than, returns 1.0 if the value of the argument to the left is less
>=
- Larger than or equal to, returns 1.0 if the value of the argument to
the left is larger
<=
- Less than or equal to, returns 1.0 if the value of the argument to the
left is less
!
- Not, returns 0.0 if it's argument evaluates to 1.0 and returns 1.0 if
Author Patrik Lundin, plundin@javathings.com,
http://www.javathings.com
|