Help using variables with subscripts
- To: mathgroup at smc.vnet.net
- Subject: [mg41336] Help using variables with subscripts
- From: "Earhart, Patrick" <rearhart at ball.com>
- Date: Thu, 15 May 2003 03:59:09 -0400 (EDT)
- Sender: owner-wri-mathgroup at wolfram.com
Hello all I wanted to see if any of you Mathematica Gods had any advice on ways to use variables with subscripts inside a function. Ex In[1]:= f[x_] = x^2 Out[1]= \!\(x\^2\) In[6]:= f[5] Out[6]= 25 In[4]:= \!\(f1[\(x\_b\) _]\ = \ x\_b\^2\) Out[4]= \!\(x\_b\%2\) In[5]:= f1[5] Out[5]= f1[5]