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
>> 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)**6*cos(t)**2 + 6*sin(t)**4*cos(t)**4 
> +4*sin(t)**2*cos(t)**6 + cos(t)**8
> A.full_simplify()
>
>
>
>
> BTW, you should write sin(t)**2 instead of sin(t)^2 for at least two 
> reasons :
> 1. this is the correct syntax
> 2. My Thunderbird printed sin(t)², and a copy paste to the Sage notebook 
> produced sin(t)2. Thus I had to add ** by hand.
>
> The second point could, however, be seen as a bug in thunderbird...
>
>
>
> Have a good day
> Laurent
>
> >
>
>   


--~--~---------~--~----~------------~-------~--~----~
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
URL: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to