Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'making a transformation' topicStudent Support Forum > General > "making a transformation"

< Previous Comment | Next Comment >Help | Reply To Comment | Reply To Topic
Author Comment/Response
Ed Nowak
05/25/12 02:23am

In Response To 'Re: Re: Re: making a transformation'
---------
Hi Bill,
I came up with one more example that I can't explain:

A = 2; B = 4; w = 1000;
FullSimplify[A Cos[w t] - B Sin[w t]] /.
a_ Cos[c_] - b_ Sin[c_] -> Sqrt[a^2 + b^2] Cos[c + ArcTan[a, b]]
produces the output:
2 (Cos[1000 t] - 2 Sin[1000 t])

but:

FullSimplify[A Cos[w t] - B Sin[w t]] /.
a_ Cos[c_] - b_ Sin[c_] -> Sqrt[a^2 + b^2] Cos[c + ArcTan[a, b]]
produces the output:
Sqrt[A^2 + B^2] Cos[[tw] + ArcTan[A, B]]

URL: ,

Subject (listing for 'making a transformation')
Author Date Posted
making a transformation Ed Nowak 05/16/12 05:19am
Re: making a transformation Bill Simpson 05/16/12 1:18pm
Re: Re: making a transformation Ed Nowak 05/19/12 00:18am
Re: Re: making a transformation Ed Nowak 05/19/12 02:14am
Re: Re: Re: making a transformation Bill Simpson 05/21/12 00:41am
Re: Re: Re: Re: making a transformation Ed Nowak 05/25/12 01:18am
Re: Re: Re: Re: making a transformation Ed Nowak 05/25/12 02:23am
Re: Re: Re: Re: Re: making a transformation Bill Simpson 05/26/12 10:14pm
Re: Re: Re: Re: Re: Re: making a transformation Ed Nowak 05/28/12 7:22pm
Re: Re: Re: Re: Re: making a transformation Michael 05/27/12 07:20am
Re: making a transformation Ed Nowak 05/18/12 07:25am
< Previous Comment | Next Comment >Help | Reply To Comment | Reply To Topic