+ 6

I want to solve this question using python!

34xÂČ + 68x - 510 = 0 How can I solve this????

17th Oct 2017, 8:01 AM
Shadow Windster
Shadow Windster - avatar
3 Answers
+ 10
Solve using quadratic formula. http://www.purplemath.com/modules/quadform.htm
17th Oct 2017, 8:13 AM
Hatsy Rei
Hatsy Rei - avatar
+ 6
first devide by 34 x**2 + 2x - 15 all is integer factorize 15 5 * 3 the difference bt 5 and 3 is 2 ----> exactly the first koeffizient x**2 +2x -15 = (x+3)(x-2) x1 = -3 x2 = 2 easy for python devide factorize last check if it fits get sulution only works for integer solutions
16th Dec 2017, 7:57 AM
Oma Falk
Oma Falk - avatar
+ 3
You can use this to solve it from math import sqrt a = int(input()) b = int(input()) c = int(input()) print((lambda x,y,z: (-y+sqrt(y**2-4*x*z))/2*x) (a,b,c)) print((lambda x,y,z: (-y-sqrt(y**2-4*x*z))/2*x) (a,b,c))
17th Oct 2017, 8:40 AM
Ferhat Sevim
Ferhat Sevim - avatar