Back to DFS's Workshop Page
Back to Agenda Page


Quadratic Equation Problem IV

An Interactive Web-Based Solution

For this problem, you are to cannibalize any available code and write a pair of scripts which will do the following.

  1. The HTML Page: rootsInteractiveWeb.html
  2. The PHP Script: rootsInteractiveWeb.php
    1. Display the equation
    2. Calculate and display the value of the discriminant
    3. Checking the discriminant, calculate the root(s) and print the results

To see how this could work, view this possible solution.


© 2007 DFStermole
Created 15 Nov 07
Last Modified 16 Nov 07