subject

Computer modelling and simulation Using the top–down method, please describe an algorithm for a program to solve the real roots of a quadratic equation
ax2 + bx + c = 0
Your 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 Computers and Technology

question
Computers and Technology, 22.06.2019 10:40
5. illustrate how fine-line inventory classification can be used with product and market segments. what are the benefits and considerations when classifying inventory by product, market, and product/market?
Answers: 2
question
Computers and Technology, 23.06.2019 02:30
Experimental data that is expressed using numbers is said to be
Answers: 1
question
Computers and Technology, 23.06.2019 12:30
How is the brightness of oled of the diaplay is controled
Answers: 1
question
Computers and Technology, 23.06.2019 12:50
Which syntax error in programming is unlikely to be highlighted by a compiler or an interpreter? a variable name misspelling a missing space a comma in place of a period a missing closing quotation mark
Answers: 1
You know the right answer?
Computer modelling and simulation Using the top–down method, please describe an algorithm for a pr...
Questions
question
History, 27.01.2020 20:31
Questions on the website: 13722367