Re: newbie question about the symbol E
- To: mathgroup at smc.vnet.net
- Subject: [mg28324] Re: newbie question about the symbol E
- From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
- Date: Wed, 11 Apr 2001 02:01:02 -0400 (EDT)
- Organization: Universitaet Leipzig
- References: <9arn5o$qna@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Hi, it's not possible to use E but you many use \[ScriptCapitalE] instead that fit to the physical usual notation of the kinetic energy and the Lagrangian :-) Regards Jens "Martin P. Pos" wrote: > > I want to declare a function of energy E, say f[E], but mathematica doesn't > allow me to use E as a symbol, because it is reserved for the exponential > constant. In the frontend I use <esc>ee<esc> to enter that exponential > constant, but i want E to be the variable of this function. > > Similar, I can declare a constant, e.g.: > > Subscript[E, F] := 10 > > But when I do: > > Clear[Subscript[E, F]] > > mathematica responds: > > "Clear::ssym : eF is not a symbol or string" > > where eF is the exponential constant, subscript F. > > I want to enter the following formula: > > f[x_] := 1/(1 + E^((Subscript[x, F] - x)/(k*T))) > > where E should be the exponential constant and x should be E (capital e) > > Is there a way to do what I want, or is it not possible to use E? > > Regards, Martin P. Pos