Jan 032018
Grfx is an educational program to plot mathmatical functions of the form "Y = F(x)".
File GRFX2.ZIP from The Programmer’s Corner in
Category Science and Education
Grfx is an educational program to plot mathmatical functions of the form “Y = F(x)”.
File Name File Size Zip Size Zip Type
GRFX2.DOC 3782 1672 deflated
GRFX2.EXE 30176 16392 deflated

Download File GRFX2.ZIP Here

Contents of the GRFX2.DOC file


Grfx - An Educational Program
Copyright (c) 1984, 89, Techserve, Inc.

1.0 Introduction

Grfx is an educational program to plot mathmatical functions of
the form "Y = F(x)". F(x) may be any expression involving:

x or X - The independent variable on the horizontal axis
of the plot.

Any integer or decimal constant, e.g. "3" or "4.56".

Arithmetical operators - (+, -, *, /) where * = multiply
and / = divide.

Trigonometric operators - (Sin, Cos, Tan).

Power Operator - ( ^ ). E.g. 2^3 = 8.

Ln - The Natural Logrithm operator. E.g. Ln(5*x).

Exp - Natural Exponential Operator. E.g. Exp(x).

You must have a CGA graphics card in your PC to use Grfx.

2.0 Starting Grfx

Start Grfx by keying in "Grfx2" when you are logged onto the
drive containing GRFX2.EXE. Note the introductory message
containing a brief summary of the available commands. After
reading, hit any key to move on to the main Grfx screen.

3.0 Entering a Function

The first step in using Grfx is to enter the function you wish
to plot. To do this, depress the "Alt" key and "F" key simul-
taneously to enter the "FunctionEdit" mode. This mode permits
you to key in your function on the bottom line of the screen.
Note the non-blinking cursor to the right of the equal sign.

You may now key in your function. Try the following:

(X/2) + 2.1415*Sin(3*x)

You may use the horizontal arrow keys on the keypad to move the
cursor, and may use the backspace key to delete characters. The
"Del" key also deletes any characters to the right of the cursor.

When you have finished entering the function, hit the "Return"
key. This tells Grfx to go back to the main mode. Note that
you don't have to be at the last character. After hitting the
"Return" key, note that the Alt-Key command summary reappears
on the top line, indicating the main mode.


4.0 Plotting a Function

To plot the function just entered, depress Alt-P. The function
is then plotted on the screen, provided it is within the scale
range of the graph. An error message is displayed if the func-
tion contains an illegal expression, . . . hitting any key
returns the "FunctionEdit" mode to allow error correction.

5.0 Changing Scale

If the function you wish to plot is best viewed using a differ-
ent scale, the scale may be changed using the Scale function.

Depress Alt-S. Note the prompt on the top line to choose a
scale from 0 to 4. The zero scale ranges from -1 to +1. The
4 scale ranges from -10000 to +10000. The default scale is 1.

Selecting a new scale does not destroy a previously entered
function. However, it does clear any previous plot. To
re-plot, simply press Alt-P.

6.0 Changing Colors

If you have a color monitor, display colors may be changed by
keying Alt-L. Note the following prompt on the top line:

Select : F)oreground B)ackground Esc

The foreground and background selections will toggle foreground
and background colors. (Background is inactive on CGA displays.)

7.0 Clearing Plots

Grfx plots new functions over old plots unless you first clear
the old plots. This may be done using Alt-C. Note that the
clear operation also clears any existing function, . . . so be
sure to "Clear" before entering a new function if you don't
want to overplot an old function.

8.0 Back to DOS - Alt-Q returns you to DOS.

9.0 GrFx2

GrFx2 is an enhanced version of Grfx, revised in 1989.
Added features include support of Hercules, EGA and VGA
displays, and output to 9-pin Epson type printers.
(Alt-O command).


 January 3, 2018  Add comments

 Leave a Reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>