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 日

0 投票

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 件のコメント

VBBV
VBBV 2022 年 4 月 4 日
Parenthesis is closed at incorrect location
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])
%)
Xizeng Feng
Xizeng Feng 2022 年 4 月 4 日
would you pls point out where is the correct position.
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 件)

カテゴリ

ヘルプ センター および File ExchangeSymbolic Math Toolbox についてさらに検索

質問済み:

2022 年 4 月 4 日

コメント済み:

2022 年 4 月 4 日

Community Treasure Hunt

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

Start Hunting!

Translated by