The two real roots of the e quadratic equation ax^2 + bx + c = 30 are given by x1 = -b + Square...1 answer below »

can someone show me how todo this in MATLAB.

The two real roots of the e quadratic equation ax^2 + bx + c = 30 are given by x1 = -b + Squareroot D/2a where D = b^2 - 4ac is called the discriminant. Given the scalar coefficients a, b, and c as the inputs write a function to calculate and return the roots of the quadratic equation.

## 1 Approved Answer

May 08, 2021## Do you need an answer to a question different from the above? Ask your question!

Tell us more

(Hide this section if you want to rate later)

Was the final answer of the question wrong?

Were the solution steps not detailed enough?

Was the language and grammar an issue?

Does the question reference wrong data/report

or numbers?

Stay Solved :)

5 seconds## Didn't find yours?

Ask a new questionGet plagiarism-free solution within 48 hours

Review Please