what is wrong with my calculation?

1 回表示 (過去 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 Center および File ExchangeSymbolic Math Toolbox についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by