MathGroup Archive 2008

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Cos[a x - b] displayed as Cos[b - a x]

  • To: mathgroup at smc.vnet.net
  • Subject: [mg90860] Re: [mg90834] Cos[a x - b] displayed as Cos[b - a x]
  • From: Bob Hanlon <hanlonr at cox.net>
  • Date: Sat, 26 Jul 2008 04:23:47 -0400 (EDT)
  • Reply-to: hanlonr at cox.net

y = HoldForm[Cos[a x - b]]

cos(a x-b)

{y == Cos[a x - b], y == Cos[a x - b] // ReleaseHold}

{cos(a x-b) == cos(b-a x), True}


Bob Hanlon

---- HO JEE HOU <Jeehou.Ho at nottingham.edu.my> wrote: 

=============
Dear all,

I have an expression which I wish to put it in the form of Cos[a x - b].
However when I input it to Mathematica, it automatically converted to
Cos[b - a x]. Similarly, for Sin[a x - b] it would become -Sin[b - ax].

I understand that both are equivalent, but I just wish to have the form
of Cos[a x - b]. Is there any way to do this?

Thank you very much.

Best regards,
Ho




  • Prev by Date: question about sorting lists
  • Next by Date: Re: Unprotect[Pi]
  • Previous by thread: Re: Cos[a x - b] displayed as Cos[b - a x]
  • Next by thread: Re: Cos[a x - b] displayed as Cos[b - a x]