Difference between revisions of "Formula plotting-graphs"

From Algebra.Com's Help
Jump to: navigation, search
Line 1: Line 1:
 +
{{Formula}}
 +
 +
 
Plotting graphs is very easy with my system. The command for it is called graph. It is invoked as follows:
 
Plotting graphs is very easy with my system. The command for it is called graph. It is invoked as follows:
  

Revision as of 15:06, 30 June 2005



Plotting graphs is very easy with my system. The command for it is called graph. It is invoked as follows:

 graph( xwidth, yheight, xmin, xmax, ymin, ymax, func, func2, ... )

xwidth and yheight are width and height of the graph in PIXELS. xmin and xmax, as well as ymin and ymax, define minimum and maximum x and y values for the system of coordinates used on this graph.


func1, func2 etc are expressions that must be functions of x. You can plot a graph of one or more functions.

NO VARIABLES BESIDES 'x' are allowed in the function expressions!

Example:

 graph( 300, 200, 
        -10, 10, 
        -1, 10,
        x^2-1/2, 
        6-x )

would plot a 300x200 pixel graph, with x coordinate between -10 and 10, and y coordinate between -1 and 10, of two functionsL x^1-1/2 and 6-x.