Computers and Technology, 18.10.2021 17:10, umimgoingtofail
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.
Answers: 1
Computers and Technology, 24.06.2019 14:30, SmartScholar4094
Two students are discussing electricity that has a frequency of 60 hz. student a says that this type of electricity is referred to as ac. student b says that in this type of electricity, the electrons flow in only one direction. which of the following statements is correct? a. only student a is correct b. only student b is correct c. both of the two students are correct d. neither of the two students is correct
Answers: 1
Computers and Technology, 25.06.2019 08:20, xxaurorabluexx
Which of the following statements is true of offshore outsourcing? a. improved telecommunication systems have increased its attractiveness. b. the limited availability of the internet has reduced its effectiveness. c. reduced bandwidth has increased its efficiency to perform with low latency. d. the increased cost of communication has reduced its popularity.
Answers: 1
Computer modelling and simulation
Using the top–down method, please describe an algorithm for a pr...