[sage-support] Re: [sage-support]how to simply the equation

2009-10-12 Thread Mike Hansen
Hello, 2009/10/12 wxu...@sohu.com: Hi, everyone, I got the expression, sin(t)^8 + 4*sin(t)^6*cos(t)^2 + 6*sin(t)^4*cos(t)^4 + 4*sin(t)^2*cos(t)^6 + cos(t)^8 actually it is 1. how can I get it? Here you go: sage: t = var('t') sage: a = sin(t)^8 + 4*sin(t)^6*cos(t)^2 + 6*sin(t)^4*cos(t)^4

[sage-support] Re: [sage-support]how to simply the equation

2009-10-12 Thread Laurent
wxu...@sohu.com ha scripte: Hi, everyone, I got the expression, sin(t)^8 + 4*sin(t)^6*cos(t)^2 + 6*sin(t)^4*cos(t)^4 + 4*sin(t)^2*cos(t)^6 + cos(t)^8 actually it is 1. how can I get it? Thanks in advance! The secret is the method fullsimplify var('t') A = sin(t)**8 +

[sage-support] Re: [sage-support]how to simply the equation

2009-10-12 Thread wxuyec
Thank you very much. Mike Hansen 写道: Hello, 2009/10/12 wxu...@sohu.com: Hi, everyone, I got the expression, sin(t)^8 + 4*sin(t)^6*cos(t)^2 + 6*sin(t)^4*cos(t)^4 + 4*sin(t)^2*cos(t)^6 + cos(t)^8 actually it is 1. how can I get it? Here you go: sage: t = var('t') sage: a

[sage-support] Re: [sage-support]how to simply the equation

2009-10-12 Thread Mike Hansen
On Mon, Oct 12, 2009 at 3:30 PM, wxu...@sohu.com wrote: Thank you. It confused me how can I know all about the method. Is there some efficient way to know all of them? The easiest way is to use tab-completion. For example, if ex is your object, type in ex.simplify_ and then press TAB.