home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Software Du Jour
/
SoftwareDuJour.iso
/
SCHOOL
/
MATH
/
SOLVER.DOC
< prev
next >
Wrap
Text File
|
1988-03-01
|
4KB
|
82 lines
SOLVER!
This is a simple version of TK!SOLVER. The screen is divided up into
three main windows: a variable list, a formula window, and a help window. The
variable list window is divided into a value field and a variable label field.
Eight variables are displayed in this upper window. Each variable row includes
the variable letter, an equal sign, the value of the variable, a colon, and the
variable label field. The value and label fields can be edited with the edit
keys as follows:
F1 Delete character (all fields)
F2 Insert character (all fields)
F3 Blank a field (all fields)
F4 Print formula to printer
F5 Load formulas from disk
F6 Save formulas to disk
F7 Calculate a variable (update results in variable table)
F8 Move to formula-edit field (create or edit formula)
F9 Escape from :
(1) formula-edit field to variable-edit table
(2) variable-edit table to a QUIT PROGRAM? prompt
ENTER Tab between variable and label fields
<- Move cursor right one character
-> Move cursor left one character
UP ARROW Move cursor up one line
DOWN ARROW Move cursor down one line
To assign a value to any variable, move the cursor to the value field and
enter the value. Next toggle to the label field and enter a descriptive label.
For the value to be calculated, a formula is entered in the formula window. For
example, the formula to calculate the height a rocket will reach in a specified
time with a known initial velocity is
(B*C)-((D/2)*(C^2))=A
where
A is the height reached (feet)
B is the initial velocity (feet/second)
C is the time in seconds
D is the acceleration of gravity (32 ft/sec/sec)
Values are entered for B,C, AND D with some description in the label field
(optional). Since A is unknown, a value of 0 is assigned to A. Next the formula
is entered by moving the cursor to the variable to be calculated (A) and
pressing the EDIT key as indicated in the help window. The cursor will appear
in the formula window and the current value of A (either assigned or from a
previous calculation). If a formula has previously been used, it will now
appear in the formula window ready to be edited. Otherwise the window will be
blank and ready for a new formula to be entered. The formula entry is completed
by pressing the appropriate key from the help window. The cursor will return to
the last variable field before the formula field was called.
The program works through any formula from left to right so you must force
the precedence of operators with the placement of parentheses as in the
equation above. The formula must end in a equal sign with or without the
variable to be calculated. The program immediately performs a calculation
whenever it encounters an equal sign.
The following numeric functions are valid for use in any formula:
ABS
ATN
COS
EXP
INT
LOG
RND
SGN
SIN
SQR
TAN
The syntax for each function is:
FN(P)
where
FN is the function name
P is the parameter
i.e., the sine of A is expressed as SIN(A).
I hope that these instructions haven't been too confusing. The best way to
see what the program can do is to experiment. Good luck and have fun.