Question: (30%) Write a pseudocode algorithm to solve the following problem: Given three numbers a, b and c corresponding to the constants of a second degree

 (30%) Write a pseudocode algorithm to solve the following problem: Given

(30%) Write a pseudocode algorithm to solve the following problem: Given three numbers a, b and c corresponding to the constants of a second degree polynomial, that is, a polynomial of the form a*x2+b*x c, find the roots of such a olynomial; .e., write a pseudocode algorithm that receives a, b and c as input and outputs the roots of the corresponding polynomial It is known that second degree polynomials may have up to two roots depending on the value of the discriminant. The discriminant is D = b. (4*a*c). If D 0 the polynomial has two roots, they are (-b SquareRoot(D))/(2*a) and (-b- SquareRoot(D))/(2*a)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!