(1)x1*x2=c/a=-18
x1=-3 x2=-18/-3=6
(x+3)(x-6)=x^2-3x-18
所以k=-3
(2)x^2-3x-18=(x+3)(x-6)
x1=-3 x2=6
(3)(x+y)(x-y)=48
x-y=48/6=8
x=7 y=-1
(4)(a^2-4a+4)+(b^2-10a+25)=0
(a-2)^2+(b-5)^2=0
a=2 b=5
(1)x1*x2=c/a=-18
x1=-3 x2=-18/-3=6
(x+3)(x-6)=x^2-3x-18
所以k=-3
(2)x^2-3x-18=(x+3)(x-6)
x1=-3 x2=6
(3)(x+y)(x-y)=48
x-y=48/6=8
x=7 y=-1
(4)(a^2-4a+4)+(b^2-10a+25)=0
(a-2)^2+(b-5)^2=0
a=2 b=5