24−2−4−6−851015−5−10
a = 1.0
b = 1.0
c = 1.0
Quadratic: y = 1.0x2 + 1.0x + 1.0
d = 2.0
e = 2.0
Linear: y = 2.0x + 2.0
y = 10.27
y = 7.17
24−2−4−6−851015−5−10
Quadratic - Linear:
y = 1.0x2 + (1.0 - 2.0)x + (1.0 - 2.0)
= 1.0x2 - 1.0x - 1.0
Where Quadratic = Linear, Quadratic - Linear = 0
Discriminant of 'Quadratic - Linear':
( -1.0 )2 - ( 4 * 1.0 * -1.0 ) = 5.00
Discriminant > 0 => two distinct solutions
Discriminant < 0 => no real solutions
Discriminant = 0 => one repeated solution
x = 2.59