/*
	quad - Numerator program for solving equations of the type

		ax^2 + bx + c = 0

	using the quadratic equation

		x = -b +- (b^2 - 4ac) ^ 1/2
		    -----------------------
		    		2a
*/

"a "
get a
"b "
get b
"c "
get c1
x1 = (-b + (b^2 - 4 * a * c1)) / (2 * a)
x2 = (-b - (b^2 - 4 * a * c1)) / (2 * a)
"One solution for x is       "
x1
"The other solution for x is "
x2

