On Aug 26, 7:59 pm, Simon King <[email protected]> wrote:
> Hi Jaako,
>
> On Aug 26, 5:34 pm, William Stein <[email protected]> wrote:
>
> > Please give Sage code that creates such an expression, which anybody
> > reading this can then trivially paste into their Sage session.
>
> I reckon, in the easiest case Jaako would like to have:
> Given 1/(sqrt(x) - 2),
> return (sqrt(x) + 2)/(x - 4)
> and then the analogous game with, say:
> 1/(3*x^(7/8) - x^(2/5) + x^(1/3))
> --> some expression without root in the denominator.
>
> Is this what you had in mind?
Yes.
expr=1/(1+3^(1/2)+5^(1/4)+7^(1/6)+9^(1/8))
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
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
-~----------~----~----~----~------~----~------~--~---