Biquadratic Equation
Develop a program to solve the biquadratic equation:
[ ax^4 + bx^2 + c = 0 ]
Input
You will receive a single line containing three numbers separated by spaces, representing the coefficients of the biquadratic equation: a, b, and c. The absolute values of these coefficients will not exceed 100.
Output
Output a single line based on the number of roots:
- If there are no roots, print "No roots". - If there is one root, print "One root:" followed by the root. - If there are two roots, print "Two roots:" followed by the smaller root and then the larger root. - If there are three roots, print "Three roots:" followed by the roots in ascending order. - If there are four roots, print "Four roots:" followed by the roots in ascending order. - If there are infinitely many roots, print "Many roots".
Ensure that all roots are displayed with a precision of (10^-3).