Make your own free website on Tripod.com

An Example of Using CGI.pm and pgperl

A perl CGI program that allows you to enter a function of x and have it plotted. Click here if you want to see the source code. The program makes use of the pgperl and CGI.pm modules.

Font Selection:
NormalRomanItalicScript

Label Size:
SmallMediumBig

Plotting Range:
x min: x max:

A Function of x :
f (x) =

Note: As well as the usual arithmetic operators, the following perl mathematical functions are supported: atan2 cos exp int log rand sin sqrt. Any undefined values of a function are set to zero.

A graph