Question: Write a function that takes the coefficients of the quadratic equation and returns the real roots if exist. Write a function that takes the coefficients
Write a function that takes the coefficients of the quadratic equation and returns the real roots if exist.

Write a function that takes the coefficients of the quadratic equation and returns the real roots if exist. 3. Hint: a quadratic equation is in the form of ax2+ bx + c = 0 The roots can be calculated as 2a to the quadratic equation is given by the quadratic formula: The expression inside the square root is called discriminant and is denoted by : The quadratic formula with discriminant notation: x1.2 = 20 This expression is important because it can tell us about the solution: when >0, there are 2 real roots x1s(-b+VA)/(2a) and x2=(-b-VA)/(2a). when =0, there is one root x1EX2:-b/(2a). when
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
