On Mon, Oct 12, 2009 at 3:30 PM, 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. It will s
Thank you.
It confused me how can I know all about the method.
Is there some efficient way to know all of them?
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
Thank you very much.
Mike Hansen 写道:
> Hello,
>
> 2009/10/12 :
>
>> 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')
> sa
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 + 4*sin(t
Hello,
2009/10/12 :
>
> 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 +
4*sin(t