what is wrong with my calculation?

2 visualizaciones (últimos 30 días)
Xizeng Feng
Xizeng Feng el 4 de Abr. de 2022
Comentada: VBBV el 4 de Abr. de 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?

Respuesta aceptada

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

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Symbolic Math Toolbox en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by