代码为:
solve({p3/(1050-p3)=5/2-175000/q4,p4/(815-p4)=10/11-(2100000/11)/q3,(1928000/297)*p1+q1=6748000,1200*p2+q2=1184000,220*p3+q3=441000,(5600/163)*p4+q4=98000,0.4e-1*q1+.8*q2+.35*q3+.25*q4=600000,0.9e-1*q1+0.2e-1*q2+.3*q3+.4*q4=700000},{p1,p2,p3,p4,q1,q2,q3,q4});
结果为:
{p1=-87.18405832,p2=701.1682810,p3=1681.303042,p4=1865.956039,q1=7.313962507*10^6,q2=3.425980628*10^5,q3=71113.33073,q4=33893.53484},{p1=95.80383240,p2=770.8878403,p3=378.3123425,p4=222.4814606,q1=6.126081519*10^6,q2=2.589345917*10^5,q3=3.577712847*10^5,q4=90356.46516}