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 01:00
Program description: a c# app is to be created to produce morse code. the morse code assigns a series of dots and dashes to each letter of the alphabet, each digit, and a few special characters (such as period, comma, colon, and semicolon). in sound-oriented systems, the dot represents a short sound and the dash represents a long sound. separation between words is indicated by a space, or, quite simply, the absence of a dot or dash. in a sound-oriented system, a space is indicated by a short period of time during which no sound is transmitted. the international version of the morse code is stored in the data file morse.txt.
Answers: 3
question
Computers and Technology, 22.06.2019 10:30
How can a user open a blank presentation? 1.on the file menu, click new, and then click recent templates 2.on the file menu, click new, and then click blank presentation 3. on the view menu, click templates, and then click recent templates 4. on the view menu, click samples, and then click blank presentation
Answers: 1
question
Computers and Technology, 22.06.2019 11:00
The great length of north america causes the climate to be varied. true false
Answers: 2
question
Computers and Technology, 22.06.2019 15:30
When creating a budget, log fixed expenses before income. after income. after savings. at the top.
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, 29.06.2019 15:00
Questions on the website: 13722367