what is wrong with my calculation?

3 views (last 30 days)
Xizeng Feng
Xizeng Feng on 4 Apr 2022
Commented: VBBV on 4 Apr 2022
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?

Accepted Answer

VBBV
VBBV on 4 Apr 2022
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 Comments
Xizeng Feng
Xizeng Feng on 4 Apr 2022
Oh, I found it! thank you very much!
VBBV
VBBV on 4 Apr 2022
please accep the answer if it solved , thanks :)

Sign in to comment.

More Answers (0)

Categories

Find more on Mathematics in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!