Can someone explain this?
- To: mathgroup at smc.vnet.net
- Subject: [mg19106] Can someone explain this?
- From: belotto at vassar.edu (Benjamin Lotto)
- Date: Thu, 5 Aug 1999 01:35:22 -0400
- Organization: Vassar College
- Sender: owner-wri-mathgroup at wolfram.com
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[1]:= Tan[x]/.Tan[z_]->Sin[z]
Out[1]= Sin[x]
In[2]:= Tan[x]/.Tan[z_]->z Sin[z]
Out[2]= x Sin[x]
In[3]:= Tan[x]/.Tan[z_]->Sin[z]Cos[z]
Out[3]= Cos[x] Sin[x]
In[4]:= Tan[x]/.Tan[z_]->Sin[z]/Cos[z]
Out[4]= Tan[x]
--
-------------------------------------------------------------------
Benjamin Lotto *
Department of Mathematics * e-mail: belotto at vassar.edu
Vassar College, Box 349 * phone: 914-437-7180
124 Raymond Avenue * fax: 914-437-7065
Poughkeepsie, NY 12604-0349 *
-------------------------------------------------------------------
WWW: <http://math.vassar.edu/faculty/lotto/lotto.html>
-------------------------------------------------------------------