Trigonometric Power Reduction Formulas using Symbolic Matlab
Show older comments
Hi,
How can i get 1/2(1-cos(2*a)) by rewriting sin(a)^2 using Symbolic Matlab toolbox?
On the other hand if I use rewrite(.5*(1- cos(2*a)),'sin'), i will get sin(a)^2, can't I do the reverse of this process?
Thanks
Accepted Answer
More Answers (1)
Walter Roberson
on 4 Dec 2016
syms a
simplify(rewrite(rewrite(sin(a)^2,'tan'),'sin'))
Categories
Find more on Symbolic Math Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!