作业帮 > 数学 > 作业

用matlab化简下列多项式,要保留5位小数~~

来源:学生作业帮 编辑:大师作文网作业帮 分类:数学作业 时间:2024/11/11 15:48:54
用matlab化简下列多项式,要保留5位小数~~
0.11971*(x-1.1503)*(x-1.1735)*(x-1.1792)/(1.1275-1.1503)/(1.1275-1.1735)/(1.1275-1.1972)+0.13957*(x-1.1275)*(x-1.1735)*(x-1.1972)/(1.1503-1.1275)/(1.1503-1.1735)/(1.1503-1.1972)+0.15931*(x-1.1275)*(x-1.1503)*(x-1.1972)/(1.1735-1.1275)/(1.1735-1.1503)/(1.1735-1.1972)+ 0.11971*(x-1.1503)*(x-1.1735)*(x-1.1275)/(1.1972-1.1503)/(1.1972-1.1735)/(1.1972-1.1735)
用matlab化简下列多项式,要保留5位小数~~
syms x;
vpa(expand(0.11971*(x-1.1503)*(x-1.1735)*(x-1.1792)/(1.1275-1.1503)/(1.1275-1.1735)/(1.1275-1.1972)+0.13957*(x-1.1275)*(x-1.1735)*(x-1.1972)/(1.1503-1.1275)/(1.1503-1.1735)/(1.1503-1.1972)+0.15931*(x-1.1275)*(x-1.1503)*(x-1.1972)/(1.1735-1.1275)/(1.1735-1.1503)/(1.1735-1.1972)+ 0.11971*(x-1.1503)*(x-1.1735)*(x-1.1275)/(1.1972-1.1503)/(1.1972-1.1735)/(1.1972-1.1735)))