12. POLYNOM (POLYNOM.WQ1)
==========================

The file POLYNOM.WQ1 is used to compute polynomial functions.  It
displays a graph of a polynomial function when you enter the
parameters.  The polynomial is of the form:

y = a + bx + cx^2 + dx^3 + ex^4 + fx^5

You enter the parameters a, b, c, d, e, and f.	If all terms of
degree greater than 1 (c, d, e, f) are zero, the function is
linear.  The graph will display a line.  If all terms of degree
greater than 2 (d, e, f) are zero, the function is quadratic.
The graph will display the form of a quadratic.

The range of x values for which the equation is plotted can also
be defined.  By setting the range of x you can display a
particular range of interest for the polynomial that you are
plotting.

The template plots the polynomial by calculating values of the
polynomial for 100 values of x.  The values of x are calculated
in column A from the specified range.  Column B contains the
formula for the polynomial 100 times.  References to x in the
polynomial are replaced by references to the corresponding row of
column A.  For example, cell B28 contains a formula that
corresponds to a+b*A28+c*A28^2+d*A28^3+e*A28^4+f*A28^5.  To
examine the spreadsheet choose /Window | Options | Clear,
/Window | Options | Locked Titles | Clear, and
/Window | Options | Row and Column Borders | Display.

In addition to using this template to plot polynomials, you can
use Quattro Pro's graphing features to plot other functions.  To
plot other functions, follow these steps:

   1.  Open a new spreadsheet.

   2.  Use /Edit | Fill to put a range of values into the block
       A1..A100.

   3.  Put the formula representing the new function in cell B1,
       using A1 as the variable.  For example, to plot sin(x) put
       @SIN(A1) in cell B1.

   4.  Use /Edit | Copy to copy the source block B1..B1 to the
       destination block B2..B100.

   5.  Set the graph type to XY using /Graph | Type | XY.

   6.  Choose /Graph | Series | 1st Series.  Type B1..B100 and
       press [Enter].

   7.  Choose | X-axis Series.	Type A1..A100 and press [Enter].

   8.  Press [F10] to view the graph.

================================= END ================================


