subject
Mathematics, 11.10.2020 23:01 monaae3824

Write a program that will solve a quadratic equation: ax2 + bx + c = 0. The program must ask the user to enter the values for a, b and c. It should then determine the discriminant of the parabola and based on the discriminant it should display the real roots: Discriminant = b2 - 4ac > 0 means there will be two distinct real roots. Discriminant = b2 - 4ac = 0 means there will be only one real root. Discriminant = b2 - 4ac < 0 means there will be no real roots. Use the if - then else structure in your program to decide the outcome of the program. User must then use the quadratic equation to solve for x: = − ± √ −

ansver
Answers: 3

Another question on Mathematics

question
Mathematics, 20.06.2019 18:04
Afudge recipe calls for 1/2 cup of cocoa if only 1/2 of the recipe is made to how much cocoa should you use
Answers: 1
question
Mathematics, 22.06.2019 03:00
In a city, 6th and 7th avenues are parallel and the corner that the pizza palace is on is a 54° angle. what is the measure of the angle that is made with 7th ave and broadway on the corner of the shake hut?
Answers: 2
question
Mathematics, 22.06.2019 03:00
The algebraic expression shown below is missing two whole number constants. determine the constants so that the expression simplified to 14x + 11 4x + 8(x + + + 2x
Answers: 1
question
Mathematics, 22.06.2019 05:00
Complete the statements about the two cones. the volumes of the cones are equal when . if a > b, then the cross-sectional area of cone a is the cross-sectional area of cone b at every level parallel to their respective bases.
Answers: 1
You know the right answer?
Write a program that will solve a quadratic equation: ax2 + bx + c = 0. The program must ask the use...
Questions
question
History, 21.09.2019 13:10
Questions on the website: 13722359