Mike Hansen wrote: > Hi Ben, > > On Tue, Jan 20, 2009 at 1:46 AM, ben <m...@matix.co.uk> wrote: >> Are there any functions that are able to do further simplification? > > You're probably looking for trig_simplify(): > > sage: a = cos(x)^2 + sin(x)^2 > sage: a.trig_simplify() > 1
And two other ways to access equivalent functionality: sage: a.simplify_trig() 1 sage: a.simplify_full() 1 simplify_full just runs all of the simplification routines available (i.e., simplify_trig, simplify_log, simplify_exp, etc.) Jason --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---