Solving 3 equations with 3 unknowns
조회 수: 4 (최근 30일)
이전 댓글 표시
Hi! I am trying to see if Matlab would help me solve 3 equations with 3 unknowns. Thank you in advance!
52.11=2*[(sqrt(x*44.4)]
52.89=2*[(sqrt(x*34)+(sqrt(y*3.92)+(sqrt(z*57.4)]
46.71=2*[(sqrt(x*21.8)+(sqrt(y*25.5)+(sqrt(z*25.5)]
For the first equation, y and z=0.
Would something like this work:
syms x y z
E1 = 2*sqrt(x*44.4) == 52.11;
E2 = 2*((sqrt(x*34))+(sqrt(y*3.92))+(sqrt(z*57.4))) == 52.89;
E3 = 2*((sqrt(x*21.8))+(sqrt(y*25.5))+(sqrt(z*25.5))) == 46.71;
result = solve(E1,E2,E3);
댓글 수: 0
채택된 답변
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Number Theory에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!