作业帮 > 数学 > 作业

Mathematica中 Solve::解方程的时候输入Solve函数不能得出结果

来源:学生作业帮 编辑:百度作业网作业帮 分类:数学作业 时间:2024/04/29 17:53:00
Mathematica中 Solve::解方程的时候输入Solve函数不能得出结果
In[12]:=Solve[x^2+2x-7==0,x]
Solve::ivar :3 is not a vaid variable.>>
请教为什么这样
教材上是这么写的
In[1]:= Solve[x^2 + 2x - 7 == 0,x]
Out[1]={{x→-1-2根下2},{x→-1+2根下2}}
Mathematica中 Solve::解方程的时候输入Solve函数不能得出结果
是你之前给x赋值3了吧

Clear[x]
Solve[x^2+2x-7==0,x]