MathGroup Archive 1999

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

Search the Archive

Re: Can someone explain this?

  • To: mathgroup at
  • Subject: [mg19158] Re: Can someone explain this?
  • From: Harald Giese <giese at>
  • Date: Thu, 5 Aug 1999 23:59:01 -0400
  • Organization: Institut fuer Meereskunde, Universitaet Hamburg
  • References: <7obcl4$>
  • Sender: owner-wri-mathgroup at

Benjamin Lotto werote:
> Using Mathematica on a PowerMac 9600/233 under system 8.5.1, I get the
> following.  No matter what variation I try, I can't get Mathematica to replace
> Tan[x] with Sin[x]/Cos[x].  (Ultimately I'd like to do this with more
> complicated expressions.)
> ...
> In[4]:= Tan[x]/.Tan[z_]->Sin[z]/Cos[z]
> Out[4]= Tan[x]

Hi Benjamin,

Mathematica simplifies Sin[z]/Cos[z] to Tan[x]. Therefore, even if you type

In[4]:= Sin[z]/Cos[z]

you will get

Out[4]= Tan[z]


Harald Giese
Email: giese at
Phone: +49 (0)40 42838 5796; Fax: +49 (0)40 5605724
Institut fuer Meereskunde der Universitaet Hamburg
(Institute of Oceanography of the University of Hamburg)
Troplowitzstrasse 7, D-22529 Hamburg

  • Prev by Date: Re: Animated give out of animated Mathematica?
  • Next by Date: Re: Subscripts, Doh!!!
  • Previous by thread: Re: Can someone explain this?
  • Next by thread: Animated give out of animated Mathematica?