what is wrong with my calculation?

1 visualizzazione (ultimi 30 giorni)
Xizeng Feng
Xizeng Feng il 4 Apr 2022
Commentato: VBBV il 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?

Risposta accettata

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

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su Symbolic Math Toolbox in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by