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] ]For more information about statistical and mathematical software, email the UITS Stat/Math Center, visit the center's web page, or phone 812-855-4724 (IUB) or 317-278-4740 (IUPUI). The center is located in Bloomington at 410 N. Park Avenue, and is open for consultation by appointment Monday-Friday 9am-5pm.
Also see:
- Where can I get help with Maple?
- When I type sin(3), why does Maple echo this back instead of evaluating it?
- In Maple or Mathematica, how can I reduce cos(a*n*pi) or sin(a*n*pi)?
- In Mathematica, if I forget to load a package before I first use one of its functions, how can I recover?
This is document afkm in domain all.
Last modified on January 12, 2009.
Last modified on January 12, 2009.
Please tell us, did you find the answer to your question?






