| 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: , |
|