Re: Can someone explain this?
- To: mathgroup at smc.vnet.net
- Subject: [mg19158] Re: Can someone explain this?
- From: Harald Giese <giese at dkrz.de>
- Date: Thu, 5 Aug 1999 23:59:01 -0400
- Organization: Institut fuer Meereskunde, Universitaet Hamburg
- References: <7obcl4$3te@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Benjamin Lotto werote: > > Using Mathematica 3.0.1.1x 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] Regards, Harald -- Harald Giese Email: giese at dkrz.de > NEUE TELEFON-NUMMER | NEW PHONE-NUMBER < 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