Question: Consider the equation Ax 2 + B = 0. If B/A < 0, this equation has two solutions. The solutions are: (1) X 1
Consider the equation Ax2 + B = 0.
● If B/A < 0, this equation has two solutions.
The solutions are:
(1) X1 = Sqrt(–B/A)
(2) X2 = −Sqrt(–B/A)
● If B/A = 0, this equation has one solution which is X = 0
● If B/A > 0, this equation has no real number solutions
Write a program to have the user input any numbers for the coefficients, A and B, for this equation. If A = 0, terminate the program. Otherwise, solve the equation.
Step by Step Solution
3.21 Rating (162 Votes )
There are 3 Steps involved in it
By using c programming include header include header ... View full answer
Get step-by-step solutions from verified subject matter experts
