Quadratic Equation Program
IPO Chart
| Variable | Data Type | Input | Processing | Output |
|---|---|---|---|---|
| a | Real | ✔︎ | ✔︎ | |
| b | Real | ✔︎ | ✔︎ | |
| c | Real | ✔︎ | ✔︎ | |
| root1 | Real | ✔︎ | ✔︎ | |
| root2 | Real | ✔︎ | ✔︎ |
Formulas
root1 ← [ -b + square-root-of( b2 − 4ac ) ] / 2a
root2 ← [ -b − square-root-of( b2 − 4ac ) ] / 2a