Info
이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.
The picture of the two equation.
조회 수: 2 (최근 30일)
이전 댓글 표시
Sir,
Just now I took the picture of those two equations. And while I’m using the code, still, I didn’t get the answer. It shows like this.
ans =
1.1646e+04 I can't paste the picture. So, i have typed everything.
r = (((Gamma*(M-(A*Q)))+((1-Gamma)*G))*b))/((Gamma*M)+((1-Gamma)*(G+A*Q)));
Solving the following equation for Q.
((A^3)*((1-Gamma)^2)*(Q^(4 – beta)))+(2*(A^2)*((1-Gamma)*((Gamma*M)+(1-Gamma)*G)*(Q^(3 – beta)))- ((A^2)*B*((1-Gamma)^2)*(Q^2))+(A*((Gamma*M)+(1-Gamma)*G)*(Q^(2 – beta))))-(2*A*B*(1-Gamma)*((Gamma*M)+(1-Gamma)*G-(A*b))*Q)-(B*(((Gamma*M)+(1-Gamma)*G-(A*b))^2)) = 0
Where A=(1+Lamda)*Ch, B = 2*(1-beta)*C0*D, M = Cb*D, G=Cl*D
댓글 수: 6
Rik
2020년 6월 30일
Your code doesn't run, it also doesn't contain any symbolic variables. Why don't you first write your 5 equations as symbolic equations? Then you should be able to put that system of equations into solve. (note that my experience with the symbolic toolbox is fairly limited)
답변 (0개)
이 질문은 마감되었습니다.
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!