题目内容
(请给出正确答案)
[单选题]
求2x^3-3x+1=0的根,可使用的命令有
A.p=[2, 0, -3, 1]; x=roots(p)
B.p=[2, 0, -3, 1]; a=compan(p); x=eig(a)
C.syms x; x=solve(2*x^3-3*x+1==0, x); x=eval(x)
D.syms x; s=solve(2*x^3-3*x+1, x); x=eval(s)
答案
B、p=[2, 0, -3, 1]; a=compan(p); x=eig(a)
如搜索结果不匹配,请 联系老师 获取答案