[sage-support] Re: simplifying exponents

2008-06-11 Thread polo0691
Thanks, this was helpful > > Sometimes you can use 'assume' to get the behavior you want, however. In > this case, for example: > > sage: var('vgs vt n') > (vgs, vt, n) > sage: f = (vgs - vt)^n > sage: assume(vgs > vt) > sage: f^(1/n) > vgs - vt > sage: forget() > sage: f^(1/n) > ((vgs - vt)^n)

[sage-support] Re: simplifying exponents

2008-06-10 Thread polo0691
Thanks for the reply. In the cases when those variables are real (or tell Sage they are real), could you force Sage or the underlying tool to simplify the equation? On Jun 10, 2:56 pm, Carl Witty <[EMAIL PROTECTED]> wrote: > On Jun 10, 10:44 am, polo0691 <[EMAIL PROTE

[sage-support] simplifying exponents

2008-06-10 Thread polo0691
Thanks for creating sage! I can really see how useful sage could be for engineering purposes. I've been playing around with sage for a couple of days and I have had trouble with the following: 1) simplifying equations with exponents: sage: var('vgs vt n') (vgs, vt, n) sage: f = (vgs - vt)^n sa