作业帮 > 综合 > 作业

matlab化简问题z=(x-93.0)*(x-96.2)*(x-100.0)*(x-104.2)*19.91/(108

来源:学生作业帮 编辑:作业帮 分类:综合作业 时间:2024/05/03 17:16:30
matlab化简问题
z=(x-93.0)*(x-96.2)*(x-100.0)*(x-104.2)*19.91/(108.7-93.0)/(108.7-96.2)/(108.7-100.0)/(108.7-104.2)+.
(x-93.0)*(x-96.2)*(x-100.0)*(x-108.7)*17.07/(104.2-93.0)/(104.2-96.2)/(104.2-100.0)/(104.2-108.7)+...
(x-93.0)*(x-96.2)*(x-108.7)*(x-104.2)*14.70/(100-93.0)/(100-96.2)/(100.0-108.7)/(100-104.2)+...
(x-93.0)*(x-108.7)*(x-100.0)*(x-104.2)*12.80/(96.2-93.0)/(96.2-108.7)/(96.2-100.0)/(96.2-104.2)+...
(x-108.7)*(x-96.2)*(x-100.0)*(x-104.2)*11.38/(93.0-108.7)/(93.0-96.2)/(93.0-100.0)/(93.0-104.2);
我用simple(p),总是出现?Function 'simple' is not defined for values of class 'double'.该怎么弄?
syms x
z=(x-93.0)*(x-96.2)*(x-100.0)*(x-104.2)*19.91/(108.7-93.0)/(108.7-96.2)/(108.7-100.0)/(108.7-104.2)+.
(x-93.0)*(x-96.2)*(x-100.0)*(x-108.7)*17.07/(104.2-93.0)/(104.2-96.2)/(104.2-100.0)/(104.2-108.7)+...
(x-93.0)*(x-96.2)*(x-108.7)*(x-104.2)*14.70/(100-93.0)/(100-96.2)/(100.0-108.7)/(100-104.2)+...
(x-93.0)*(x-108.7)*(x-100.0)*(x-104.2)*12.80/(96.2-93.0)/(96.2-108.7)/(96.2-100.0)/(96.2-104.2)+...
(x-108.7)*(x-96.2)*(x-100.0)*(x-104.2)*11.38/(93.0-108.7)/(93.0-96.2)/(93.0-100.0)/(93.0-104.2);
y=simple(z)