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, 03.07.2019 14:10
Explain the difference laminar and turbulent flow. explain it with the shear stress and the velocity profiles.
Answers: 1
question
Engineering, 04.07.2019 18:20
Acertain flow of air (at stp) has a velocity distribution given by v i (in ft/s). if this flow is going through a 4 ft square area in the yz-plane (centered at the origin), what is the mass flow rate (in lbm/s)?
Answers: 2
question
Engineering, 04.07.2019 18:20
A2-m rigid tank initially contains saturated water vapor at 100 kpa. the tank is connected to a supply line through a valve. steam is flowing in the supply line at 600 kpa and 300 c. the valve is opened, and steam is allowed to enter the tank until the pressure in the tank reaches the line pressure, at which point the valve is closed. a thermometer placed in the tank indicates that the temperature at the final state is 200°c. determine (a) the mass of steam that has entered the tank (b) the amount of heat transfer.
Answers: 3
question
Engineering, 04.07.2019 19:20
Acommercial grade cubical freezer, 4 m on a side, has a composite wall consisting of an exterior sheet of 5.0-mm thick plain carbon steel (kst= 60.5 w/m k), an intermediate layer of 100-mm thick polyurethane insulation (kins 0.02 w/m k), and an inner sheet of 5.0- mm thick aluminium alloy (kal polyurethane insulation and both metallic sheets are each characterized by a thermal contact resistance of r 2.5 x 104 m2 k/w. (a) what is the steady-state cooling load that must be maintained by the refrigerator under conditions for which the outer and inner surface temperatures are 25°c and -5°c, respectively? (b) for power saving purpose, which wall material should be increased/reduced in. thickness in order to reduce 50% of the cooling load found in part (a)? redesign the thickness of the proposed material. 177 w/m-k). adhesive interfaces between the q=575.93 w
Answers: 2
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, 11.10.2019 10:10
question
Mathematics, 11.10.2019 10:10
question
Computers and Technology, 11.10.2019 10:10
Questions on the website: 13722362