早教吧 育儿知识 作业答案 考试题库 百科 知识分享

如何用matlab解方程组?这个八个未知数的方程组是不是用matlab解不出来?[a,b,c,d,e,f,g,h]=solve('19.288+8.314*lh(a)+f+4*g=0,8.314*ln(b)+2*g=0,191.138+8.314*ln(c)+3*f+8*g=0,118.198+8.314*ln(d)+2*f+4*g=0,181.69+8.314*ln(e)+3*f+6*g=0

题目详情
如何用matlab解方程组?
这个八个未知数的方程组是不是用matlab解不出来?[a,b,c,d,e,f,g,h]=solve('19.288+8.314*lh(a)+f+4*g=0,8.314*ln(b)+2*g=0,191.138+8.314*ln(c)+3*f+8*g=0,118.198+8.314*ln(d)+2*f+4*g=0,181.69+8.314*ln(e)+3*f+6*g=0,a+3*c+3*e+2*d=30/h,2*b+4*a+8*c+6*e+4*d=80/h,a+c+e+d+b=1')
▼优质解答
答案和解析
matlab中没ln函数 用log代替 还有每个等式作为一个参数传递 看看帮助吧
[a,b,c,d,e,f,g,h]=solve('19.288+8.314*log(a)+f+4*g=0','8.314*log(b)+2*g=0','191.138+8.314*log(c)+3*f+8*g=0','118.198+8.314*log(d)+2*f+4*g=0','181.69+8.314*log(e)+3*f+6*g=0','a+3*c+3*e+2*d=30/h','2*b+4*a+8*c+6*e+4*d=80/h','a+c+e+d+b=1')