征途怀旧 版装备打造:初3数学求解....????????

来源:百度文库 编辑:神马品牌网 时间:2024/05/05 04:12:59
X^2+3X=-2 -3+4X+4X^2=0 X^2-12X+18=-18

用配方法解关于X的一元二次方程x^2+px+q=0

Question1:
Using MathLab to solve these equations ^_^
Question2:
The two roots of this equation are:
x1=-p+sqrt(p^2-4*q)
x2=-p-sqrt(p^2-4*q)

1. x=-1 x=-2
2. x=-3/2 x=1/2
3. x=6
配方得,(x+p/2)^2-p^2+q
当q>p^2/4时,无解.
当q<p^2/4时,x=根号(p^2/4-q)-p/2或
x=-根号(p^2/4-q)-p/2

1) X^2+3X+2=0
(X+1)(X+2)=0
X=-1或-2
2) 4X^2+4X-3=0
(2X+3)(2X-1)=0
X=-3/2或1/2
3) X^2-12X+36=0
(X-6)^2=0
X=6