Write a c program to evaluate the roots of the 2nd order


Question 1: Write a 'C' program to evaluate the roots of the 2nd order equation:

ax2 + bx + c = 0

Ensure that your program includes the solutions for the subsequent SPECIAL cases:

a. a = 0

b. b = 0 (hint: use the 'fabs' function to provide the 'imaginary' number)

c. c = 0

d. a, b, c < 0

e. b2 - 4ac < 0 (hint: use the 'fabs' function and give the 'imaginary' component of the number)

Request for Solution File

Ask an Expert for Answer!!
C/C++ Programming: Write a c program to evaluate the roots of the 2nd order
Reference No:- TGS0962080

Expected delivery within 24 Hours