create a program which can resolve any equation of second degree or quadratic equation
creer un programme pouvant resoudre toys led equation de second degre
1/28/2018 2:17:51 AM
he mean quadratic eqn [email protected]
Please give example of input and output.
we should find the value of x
eg: ax^2 + bx + c = 0 where a, b, c are constants
Yu miss something b^2-4ac/2a
I told yu this there will be no solution
Here's such code
Ya bro sorry I fix it
Done bro try it now
Here's the solutions I made
If pow(b,2)<0 there 's no solution
It's not good
Jeannot Richecarde I think your maths is not so good .
I am sorry to say like that.
But square of any real number can't be positive so pow(b,2)<0 makes no sense.
Send us a message