First page Back Continue Last page Overview Graphics
Putting it All Together
Solving Quadratic Equation
OUT Remember to enter all values as floating point!
OUT What is the a coefficient?
READ a
OUT What is the b coefficient?
READ b
OUT What is the c coefficient?
READ c
y =((-b + SQRT ((b ~ 2) – ((4 * a) * c))) / (2 * a))
z = ((-b - SQRT ((b ~ 2) – ((4 * a) * c))) / (2 * a))
OUT x=
PRINT y
OUT or
PRINT z
END
Notes: