Dear all,

When I use solve, the variable to be solved for sometimes appears on
both sides of the solution. Example:

----------------------------------------------------------------------
| SAGE Version 3.0.2, Release Date: 2008-05-24                       |
| Type notebook() for the GUI, and license() for information.        |
----------------------------------------------------------------------

sage:
var('wcnew,epsln,ysnew,delyu,sumsunew,sunlayersnew,delyu,nlayers,ysnew,cz,zr')

(wcnew,
 epsln,
 ysnew,
 delyu,
 sumsunew,
 sunlayersnew,
 delyu,
 nlayers,
 ysnew,
 cz,
 zr)
sage: solve(wcnew==epsln*(ysnew + ((delyu*sumsunew +
....:               sunlayersnew*(delyu*(1 - nlayers) + sqrt((cz -
ysnew)*(cz - zr))))*
....:             sqrt((cz - ysnew)*(cz - zr)))/(cz - zr)),ysnew)
[ysnew == (-delyu*epsln*(nlayers*sunlayersnew - sunlayersnew -
sumsunew)*sqrt((ysnew - cz)*zr - cz*ysnew + cz^2) -
cz*(epsln*sunlayersnew*zr + wcnew) + wcnew*zr +
cz^2*epsln*sunlayersnew)/(epsln*(zr - sunlayersnew*zr) +
cz*epsln*(sunlayersnew - 1))]

In the above example, ysnew still appears in the sqrt terms on the
right hand side. Does anyone know how such an equation can be solved?

Thanks in advance!

Stan
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to