Dakar American University of Science and Technology Fall 2020
Dakar American University of Science and Technology Fall 2020
Dakar American University of Science and Technology Fall 2020
Fall 2020
Numerical Analysis
hw2
Issued: Nov. 17. 2020 Due: Dec. 10. 2020
Show that these roots can be calculate with the equivalent formulas
−2𝑐 −2𝑐
(ii) 𝑥1 = 𝑥2 =
𝑏+√𝑏 2 −4𝑎𝑐 𝑏−√𝑏2 −4𝑎𝑐
2) Use the result of exercise (1) to construct an algorithm and matlab program that will
accurately compute the root of a quadratic equation in all situation including the
troublesome one 𝑏 ≈ √𝑏 2 − 4𝑎𝑐 .