variables versus functions
- To: mathgroup at smc.vnet.net
- Subject: [mg28797] variables versus functions
- From: Julian Sweet <jsweet at engineering.ucsb.edu>
- Date: Sun, 13 May 2001 03:28:46 -0400 (EDT)
- Sender: owner-wri-mathgroup at wolfram.com
How is it different to define a variable such as A=Cos[x] versus a function A[x_]:=Cos[x] ? Furthermore, what If I define two functions A[x_]:=Cos[x] and B[x_]=ArcTan[x]? How would FindRoot[A==B,{x,pi/2}] treat this differently than if I just used variable definitions for A & B? e-mail response appreciated: jsweet at engineering.ucsb.edu