Back to DFS's PHP Page


OAC Problem Set IV

Graphing Variable Parabolas

One of the greatest advantages of using computers is that you can "play" with data, testing hypotheses. This is the idea behind computer simulations. In this problem, you will make it possible for a user to vary a number of parameters used in drawing parabolas on graphs.

Three major programming concepts converge in this problem: defaults, offsets, and recursion.


The Problem

You are to create a set of PHP scripts which will allow the user to explore the graphing of parabolas. Your page will look like the one to the right. The features that you must include are:

To enhance your program over and above what mine does, you can add other equations (third degree, linear, etc.). This can be done in either of two ways: (1) add tables and associated forms to the Driver Script or (2) add an extra layer of programming, i.e., a driver selection script (or HTML page) that allows the user to choose the type of equation to be investigated.


Notes


© DFStermole 2002
Created 7 Nov 02
Updated 5 Dec 02