Sweet! Alex
On Mar 12, 5:07 pm, William Stein <wst...@gmail.com> wrote: > On Wed, Mar 11, 2009 at 5:23 PM, Alex Raichev <tortoise.s...@gmail.com> wrote: > > >> What would you want to do with QQbar in the Symbolic Ring? > > > Everything: differentiate functions with coefficients in QQbar, > > integrate them, etc. > > I too don't know anything about Maxima or the new symbolics > > package in preparation --Pynac is it? So, i'm just standing on the > > sidelines cheering "Go symbolics with QQbar! Go!" > > You can already work with QQbar and symbolic variables using pynac, > which is in sage already: > > ---------------------------------------------------------------------- > | Sage Version 3.4, Release Date: 2009-03-10 | > | Type notebook() for the GUI, and license() for information. | > ---------------------------------------------------------------------- > sage: var('x,y',ns=1) > (x, y) > sage: a = QQbar(3).sqrt() > sage: a > 1.732050807568878? > sage: f = x*a + y > sage: f > 1.732050807568878?*x + y > sage: f^2 > (1.732050807568878?*x + y)^2 > sage: expand(f^2) > 3*x^2 + 3.464101615137755?*x*y + y^2 > sage: expand(f^2).diff(x) > 6*x + 3.464101615137755?*y > sage: expand(f^2).diff(y) > 3.464101615137755?*x + 2*y > > -- > William Stein > Associate Professor of Mathematics > University of Washingtonhttp://wstein.org --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---