what is wrong with my calculation?

2 vues (au cours des 30 derniers jours)
Xizeng Feng
Xizeng Feng le 4 Avr 2022
Commenté : VBBV le 4 Avr 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?

Réponse acceptée

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

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Symbolic Math Toolbox dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by