In Maple and Mathematica, how do I convert sin(A+B) to sinA cosB + cosA sinB, and vice versa?
To convert sin(A+B) to sinA cosB + cosA sinB
and vice versa in Maple or Mathematica, use the appropriate commands
below:
Maple
expand(sin(A + B)); combine(sin(A)*cos(B)+cos(A)*sin(B), trig);Mathematica
TrigExpand[Sin[a + b]] Simplify[ Sin[a] Cos[b] + Cos[a] Sin[b] ]If you have questions about using statistical and mathematical software at Indiana University, email UITS Research Analytics (formerly known as the Stat/Math Center). Research Analytics is located on the IU Bloomington campus at 410 N. Park Avenue and is open for consultation by appointment Monday-Friday 9am-5pm. For more, visit Research Analytics on the web, or call 812-855-4724 (IUB) or 317-278-4740 (IUPUI).
Last modified on November 13, 2012.







