7A+18.2B+43.03C=48.7918.2A+45.03B+190.472C=144.66143.03A+190.472B+677.8756C=488.9851syms x1 x2 x3 f1=7*x1+18.2*x2+43.03*x3=48.79;f2=18.2*x1+45.03*x2+190.472*x3=144.661;f3=43.03*x1+190.472*x2+677.8756*x3=488.9851;[x1,x2,x3]=solve(f1,f2,f3)直接在mat
来源:学生作业帮助网 编辑:六六作业网 时间:2024/11/24 08:01:43
7A+18.2B+43.03C=48.7918.2A+45.03B+190.472C=144.66143.03A+190.472B+677.8756C=488.9851syms x1 x2 x3 f1=7*x1+18.2*x2+43.03*x3=48.79;f2=18.2*x1+45.03*x2+190.472*x3=144.661;f3=43.03*x1+190.472*x2+677.8756*x3=488.9851;[x1,x2,x3]=solve(f1,f2,f3)直接在mat
7A+18.2B+43.03C=48.79
18.2A+45.03B+190.472C=144.661
43.03A+190.472B+677.8756C=488.9851
syms x1 x2 x3
f1=7*x1+18.2*x2+43.03*x3=48.79;
f2=18.2*x1+45.03*x2+190.472*x3=144.661;
f3=43.03*x1+190.472*x2+677.8756*x3=488.9851;
[x1,x2,x3]=solve(f1,f2,f3)
直接在matlab里面运行就行了
7A+18.2B+43.03C=48.7918.2A+45.03B+190.472C=144.66143.03A+190.472B+677.8756C=488.9851syms x1 x2 x3 f1=7*x1+18.2*x2+43.03*x3=48.79;f2=18.2*x1+45.03*x2+190.472*x3=144.661;f3=43.03*x1+190.472*x2+677.8756*x3=488.9851;[x1,x2,x3]=solve(f1,f2,f3)直接在mat
>> syms x1 x2 x3
f1='7*x1+18.2*x2+43.03*x3=48.79';
f2='18.2*x1+45.03*x2+190.472*x3=144.661';
f3='43.03*x1+190.472*x2+677.8756*x3=488.9851';
[x1,x2,x3]=solve(f1,f2,f3)
x1 =
2.651814995704870955594634762305
x2 =
1.0526500813748260520128146341261
x3 =
0.25724061234125189784346572909063
>>