+ 3
How do we find the two roots of a quadratic equation using c programming
5 ответов
+ 6
You can use the quadratic formula to find the two roots which is :
root1=(-b+(b**2-4*a*c)**0.5)/2a
root2=(-b-(b**2-4*a*c)**0.5)/2a
where ax^2 - bx + c is the quadratic equation.
a = coefficient of x^2
b = coefficient of x
c = constant term
Thanks
+ 2
thanks
+ 2
Jesse Welcome😊😊👍👍
0
I do t understand anything u said