Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #8584

Extensive replacement of trigonometric functions

From Mauro <pippo@hotmail.com>
Newsgroups comp.soft-sys.math.mathematica
Subject Extensive replacement of trigonometric functions
Date 2012-02-17 11:29 +0000
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Message-ID <jhldmn$ouo$1@smc.vnet.net> (permalink)

Show all headers | View raw


Hello to everybody.

I have this problem: I would like to replace in a long expression all 
the occurrences of:

Sin[\[Theta]_ + \[Pi]/6] and Sin[\[Theta]_ - \[Pi]/6]

with respectively:

-Cos[\[Theta] + (2 \[Pi])/3] and Cos[\[Theta] - (2 \[Pi])/3]

(which actually are the same thing).
Regretfully, the application of the rules:

Sin[\[Theta]_ + \[Pi]/6] -> -Cos[\[Theta] + (2 \[Pi])/3]
Sin[\[Theta]_ - \[Pi]/6] -> Cos[\[Theta] - (2 \[Pi])/3]

results in a flop, since sine functions stubbornly appear again!

Can you help me?

Thank you in advance

Mauro

Back to comp.soft-sys.math.mathematica | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

Extensive replacement of trigonometric functions Mauro <pippo@hotmail.com> - 2012-02-17 11:29 +0000
  Re: Extensive replacement of trigonometric functions andres <jarosham@gmail.com> - 2012-02-18 11:32 +0000
    Re: Extensive replacement of trigonometric functions Mauro <pippo@hotmail.com> - 2012-02-21 11:19 +0000

csiph-web