what is wrong with my calculation?

조회 수: 2 (최근 30일)
Xizeng Feng
Xizeng Feng 2022년 4월 4일
댓글: VBBV 2022년 4월 4일
It hints the expresion was wrong when I solve the equations as follow:
>>syms rs xs rp xp
>> [xs,xp]=solve(rs*rp^2/(rs^2+(xs+xp)^2))==rp, xp*rs^2+xs^2*xp+xs*xp^2==0,[xs, xp])
Why?

채택된 답변

VBBV
VBBV 2022년 4월 4일
syms rs xs rp xp
[xs,xp]=solve(rs*rp^2./(rs^2+(xs+xp)^2)==rp, xp*rs^2+xs^2*xp+xs*xp^2==0,[xs, xp])
xs = 
xp = 
  댓글 수: 4
Xizeng Feng
Xizeng Feng 2022년 4월 4일
Oh, I found it! thank you very much!
VBBV
VBBV 2022년 4월 4일
please accep the answer if it solved , thanks :)

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Symbolic Math Toolbox에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by