On Tuesday, April 22, 2014 12:17:49 AM UTC+4:30, Hadi Lq wrote:
>
>
>
> On Monday, April 21, 2014 6:37:20 PM UTC+4:30, kcrisman wrote:
>>
>>
>>
>> On Sunday, April 20, 2014 3:14:11 PM UTC-4, Hadi Lq wrote:
>>>
>>> Hi everyone
>>> How can I solve these trigonometric equations:
>>> var('A d c1 c2')
>>> solve([A*cos(d)==c1,A*sin(d)==c2],A,d)
>>>
>>> It just gives me:
>>> [A*cos(d) == c1, A*sin(d) == c2]
>>>
>>
>> This doesn't even make sense unless (c1/A)^2+(c2/A)^2==1, which is far
>> more restrictive than the solver will impose as a restriction.
>>
>
>
> Actually the answers are:
> A = sqrt( c1^2 + c2^2 )
> d = arctan( c2 / c1 )
>
As I'm new in sage world, can you at least help me to develop sage's
solver. Where can I start? Please give me some hints. Thanks.
--
You received this message because you are subscribed to the Google Groups
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.