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 03:10
What precautions should you take to prevent injuries when dealing with heavy loads?
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
Coiled springs ought to be very strong and stiff. si3n4 is a strong, stiff material. would you select this material for a spring? explain.
Answers: 2
question
Engineering, 04.07.2019 18:10
Water at 55c flows across a flat plate whose surface temperature is held constant at 95c. if the temperature gradient at the plate's surface for a given value of x is 18 c/mm, find a) local heat transfer coefficient. b) heat flux
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
Mathematics, 22.10.2020 02:01
question
Mathematics, 22.10.2020 02:01
Questions on the website: 13722360