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, 21.06.2019 15:00
Which is the correct excel formula for the 80th percentile of a distribution that is n(475, 33)? =norm.dist(80,475,33,1) =norm.inv(0.80,475,33) =norm.s.inv((80-475)/33)?
Answers: 1
question
Mathematics, 21.06.2019 19:30
Aproduction manager test 10 toothbrushes and finds that their mean lifetime is 450 hours. she then design sales package of this type of toothbrush. it states that the customers can expect the toothbrush to last approximately 460 hours. this is an example of what phase of inferential statistics
Answers: 1
question
Mathematics, 21.06.2019 20:00
Ana drinks chocolate milk out of glasses that each holdof a liter. she has of a liter of chocolate milk in her refrigerator. 10 how many glasses of chocolate milk can she pour?
Answers: 2
question
Mathematics, 21.06.2019 20:30
Elizabeth claims that the fourth root of 2 can be expressed as 2^m since (2^m)^n = 2. find the values of m and n for the case where elizabeth's claim is true.
Answers: 3
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
Mathematics, 09.10.2021 23:30