C program Roots or solution of Quadratic Equation
It has two C programs, they are function of quadratic equation - A value x is input and f(x) is output of the program. solving a quadratic equation - The coefficients a,b and c values are input and the solution value x1 and x2 are output of the program. Function of x to Quadratic equation The quadratic equation formed by three coefficients a,b and c are set constant in the program and a input x value is read from user to find f(x) (function of x). y =f(x) = ax 2 + bx + c it is a quadratic function, find y =? of given x value Given : a=1.0,b=2.0,c=1.0 and x = 0.5 substitute the given into quadratic function. y = 1 * 0.5 2 + 2*0.5 + 1 = 1 * 0.25 + 1 +1 = 0.25 + 2 y= f(0.5) = 2.25 Function of x to Quadratic equation - C program The C program find...