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, 23.06.2019 09:00
Before you record your own voice, you should a. record other people's voices b. warm up and practice difficult names c. listen to your favorite songs d. read a transcript of a good radio news segment
Answers: 1
question
Computers and Technology, 23.06.2019 12:00
If you embed a word table into powerpoint, what happens when you make edits to the embedded data? a. edits made to embedded data change the data in the source file; however, edits made to the source file will not be reflected in the embedded data. b. edits made to embedded data will change the data in the source file, and edits made to the source file will be reflected in the embedded data. c. edits made to embedded data don't change the data in the source file, nor will edits made to the source file be reflected in the embedded data. d. edits made to embedded data don't change the data in the source file; however, edits made to the source file will be reflected in the embedded data.
Answers: 1
question
Computers and Technology, 24.06.2019 02:30
Assume a class window with accessor method getwidth that accepts no parameters and returns an integer. assume further an array of 3 window elements named winarr, has been declared and initialized. write a sequence of statements that prints out the width of the widest window in the array.
Answers: 2
question
Computers and Technology, 24.06.2019 03:30
Which explains extrinsic motivation? a)motivation in which there is a reward b)motivation that is personally satisfying c)motivation that is personally meaningful d)motivation in which the subject is interesting
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
Mathematics, 20.09.2020 04:01
question
Mathematics, 20.09.2020 04:01
Questions on the website: 13722367