+ 5

Challenge challenge

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

28th Jan 2018, 2:17 AM
Jeannot Richecarde
Jeannot Richecarde - avatar
19 ответов
28th Jan 2018, 5:20 PM
Jeannot Richecarde
Jeannot Richecarde - avatar
+ 11
he mean quadratic eqn solver@Louis
28th Jan 2018, 5:54 AM
Gaurav Agrawal
Gaurav Agrawal - avatar
+ 9
Please give example of input and output.
28th Jan 2018, 5:21 AM
Louis
Louis - avatar
+ 6
example 4x^2+5x-1=0 we should find the value of x
28th Jan 2018, 5:19 PM
Jeannot Richecarde
Jeannot Richecarde - avatar
+ 2
eg: ax^2 + bx + c = 0 where a, b, c are constants
28th Jan 2018, 6:33 AM
‎ ‏‏‎Anonymous Guy
+ 2
Yu miss something b^2-4ac/2a
31st May 2020, 3:10 PM
Jeannot Richecarde
Jeannot Richecarde - avatar
+ 2
No prob
31st May 2020, 3:14 PM
Jeannot Richecarde
Jeannot Richecarde - avatar
+ 2
I told yu this there will be no solution
13th Jun 2020, 12:29 PM
Jeannot Richecarde
Jeannot Richecarde - avatar
14th Dec 2020, 8:30 PM
Ibrahim Lahlou
Ibrahim Lahlou - avatar
+ 1
eg: ax^2 + bx + c = 0 where a, b, c are constants
28th Jan 2018, 6:32 AM
‎ ‏‏‎Anonymous Guy
31st May 2020, 3:07 PM
Akshay Panwar
Akshay Panwar - avatar
+ 1
Ya bro sorry I fix it
31st May 2020, 3:13 PM
Akshay Panwar
Akshay Panwar - avatar
0
Done bro try it now
31st May 2020, 3:17 PM
Akshay Panwar
Akshay Panwar - avatar
0
It's not good
31st May 2020, 4:01 PM
Jeannot Richecarde
Jeannot Richecarde - avatar
0
Here's the solutions I made
6th Jun 2020, 8:30 AM
Akshay Panwar
Akshay Panwar - avatar
0
If pow(b,2)<0 there 's no solution
6th Jun 2020, 7:38 PM
Jeannot Richecarde
Jeannot Richecarde - avatar
- 1
X=(b-d)/2*a X2=(b+d)/2*a
31st May 2020, 4:04 PM
Jeannot Richecarde
Jeannot Richecarde - avatar
- 1
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.
7th Jun 2020, 5:33 AM
Akshay Panwar
Akshay Panwar - avatar