Test your procedure by computing
(quadratic-root 1 -5 6)
(quadratic-root 2 -10 12)
(quadratic-root 1 4 4).
In
each case, use algebra to check your answers.
What are (quadratic-root 1 0 1) and (quadratic-root 1 0
2)?
[Would these two examples work in other programming languages
that you know?]
This document is available on the World Wide Web as
http://www.math.grin.edu/~walker/courses/151/lab-procedures.html