如何用matlab化简多项式w=(5000*x1+7000*x2+12000*x3+15000*x4+10000*x5)*0.015+101*(0.75*x1+0.9*x2+1.3*x3+0.43*x4+1.37*x5)+131*(0.23*x1+1.35*x2+0.46*x3+0.64*x4+0.34*x5)+177*(0.38*x1+0.3*x2+0.46*x3+0.32*x4+0.17*x5)+96*(0.3*x1+0.6*x2+0.58*x3+0.75*x
来源:学生作业帮助网 编辑:六六作业网 时间:2024/11/17 13:40:19
如何用matlab化简多项式w=(5000*x1+7000*x2+12000*x3+15000*x4+10000*x5)*0.015+101*(0.75*x1+0.9*x2+1.3*x3+0.43*x4+1.37*x5)+131*(0.23*x1+1.35*x2+0.46*x3+0.64*x4+0.34*x5)+177*(0.38*x1+0.3*x2+0.46*x3+0.32*x4+0.17*x5)+96*(0.3*x1+0.6*x2+0.58*x3+0.75*x
如何用matlab化简多项式
w=(5000*x1+7000*x2+12000*x3+15000*x4+10000*x5)*0.015+101*(0.75*x1+0.9*x2+1.3*x3+0.43*x4+1.37*x5)+131*(0.23*x1+1.35*x2+0.46*x3+0.64*x4+0.34*x5)
+177*(0.38*x1+0.3*x2+0.46*x3+0.32*x4+0.17*x5)+96*(0.3*x1+0.6*x2+0.58*x3+0.75*x4+0.17*x5)+187*(0.15*x1+0.3*x2+0.23*x3+0.32*x4+0.69*x5)+
313*(0.05*x1+0.15*x2+0.15*x3+0.07*x4+0.11*x5)+0.0007*(x1*40000+x2*32000+x3*62000+x4*48000+x5*58000)+7*(x1*0.05+0.1*x2+0.3*x3+1.43*x4+1.43*x5)+
0.004*(60000*x1+80000*x2+120000*x3+75000*x4+150000*x5)+(0.04*x1+0.058*x2+0.2*x3+0.15*x4+0.06*x5)+0.15*(20*x1+30*x2+50*x3+45*x4+25*x5);
如何用matlab化简多项式w=(5000*x1+7000*x2+12000*x3+15000*x4+10000*x5)*0.015+101*(0.75*x1+0.9*x2+1.3*x3+0.43*x4+1.37*x5)+131*(0.23*x1+1.35*x2+0.46*x3+0.64*x4+0.34*x5)+177*(0.38*x1+0.3*x2+0.46*x3+0.32*x4+0.17*x5)+96*(0.3*x1+0.6*x2+0.58*x3+0.75*x
w=(5000*x1+7000*x2+12000*x3+15000*x4+10000*x5)*0.015+101*(0.75*x1+0.9*x2+1.3*x3+0.43*x4+1.37*x5)+131*...(0.23*x1+1.35*x2+0.46*x3+0.64*x4+0.34*x5)
+177*(0.38*x1+0.3*x2+0.46*x3+0.32*x4+0.17*x5)+96*(0.3*x1+0.6*x2+0.58*x3+0.75*x4+0.17*x5)+187*(0.15*x1+0.3*x2+0.23*x3+0.32*x4+0.69*x5)+ ...
313*(0.05*x1+0.15*x2+0.15*x3+0.07*x4+0.11*x5)+0.0007*(x1*40000+x2*32000+x3*62000+x4*48000+x5*58000)+7*(x1*0.05+0.1*x2+0.3*x3+1.43*x4+1.43*x5)+...
0.004*(60000*x1+80000*x2+120000*x3+75000*x4+150000*x5)+(0.04*x1+0.058*x2+0.2*x3+0.15*x4+0.06*x5)+0.15*(20*x1+30*x2+50*x3+45*x4+25*x5);
simple(w)
结果是
93057/10*x1+1915077/250*x2+291404/25*x3+819253/100*x4+126609/25*x5
你可以用maple计算,maple专门进行符号运算的,里面有一个函数simplify(),可以实现化简