Quadratic equation calculator
Quadratic equation has the basic form: ax2+bx+c=0
Calculation:
a2+(17−a)2=132 2a2−34a+120=0 2 ... prime number 34=2⋅17 120=23⋅3⋅5 GCD(2,34,120)=2=2 a2−17a+60=0 p=1;q=−17;r=60 D=q2−4pr=172−4⋅1⋅60=49 D>0 a1,2=2p−q±D=217±49 a1,2=217±7 a1,2=8.5±3.5 a1=12 a2=5 Factored form of the equation: (a−12)(a−5)=0
Solution in text:
2a2-34a+120=0 ... quadratic equationDiscriminant:
D = b2 - 4ac = 196
D > 0 ... The equation has two distinct real roots
a1 = 12
a2 = 5
P = {12; 5}