subject
Engineering, 20.10.2021 08:20 sadeed00974

Using the top–down method, please describe an algorithm for a program to solve the real roots of a quadratic equationax2 + bx + c = 0Your algorithm should ask the user for the coefficients. To calculate the roots of the equation, Your algorithm should calculate the discriminant D given by D = b2 – 4ac. If D > 0, the algorithm displays a message: The equation has two roots and then displays the roots. If D = 0, the algorithm displays a message: The equation has one root, and then displays the root. If D < 0, the algorithm displays a message: The equation has no real roots. Create a flowchart for your algorithm.

ansver
Answers: 1

Another question on Engineering

question
Engineering, 04.07.2019 16:10
The force on a cutting tool are 2600n vertically downward and 2100 horizontal. determine the resultant force acting on the tool and the angle at which it acts.
Answers: 1
question
Engineering, 04.07.2019 18:10
The mass flow rate of the fluid remains constant in all steady flow process. a)- true b)- false
Answers: 1
question
Engineering, 04.07.2019 18:10
Fluids at rest possess no flow energy. a)- true b)- false
Answers: 3
question
Engineering, 04.07.2019 18:10
Ariver flows from north to south at 8 km/h. a boat is to cross this river from west to east at a speed of 20 km/h (speed of the boat with respect to the earth/ground). at what angle (in degrees) must the boat be pointed upstream such that it will proceed directly across the river (hint: find the speed of the boat with respect to water/river)? a 288 b. 21.8 c. 326 d. 30.2
Answers: 3
You know the right answer?
Using the top–down method, please describe an algorithm for a program to solve the real roots of a q...
Questions
question
Physics, 04.10.2020 23:01
question
Mathematics, 04.10.2020 23:01
Questions on the website: 13722362