Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2001
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2001

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Mathematica 4.1 How to.....

  • To: mathgroup at smc.vnet.net
  • Subject: [mg27269] Re: Mathematica 4.1 How to.....
  • From: "Allan Hayes" <hay at haystack.demon.co.uk>
  • Date: Fri, 16 Feb 2001 03:58:19 -0500 (EST)
  • References: <96asej$6f9@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

Exp is the exponential funcition, E is the constant Exp[1] E alao has a
special symbol obtained by typing \[ExponentialE] or the sequence Escape ee
Escape.
The lower case e is just a letter without any meaning.
(See the palette found under the menu File>Palettes>CompleteCharacters)

Hence

Plot[1+E^x, {x,-2,2}]

Plot[1+Exp[x], {x,-2,2}]

Built-in Mathematica symbols begin with capitals; function application uses
[  ] not ( ). But you can  use the latter if the expression is in
TraditionalForm (see later).

Plot[Cos[Pi x], {x,-2,2}]

We can get a Greek  pi  via the sequence Escape p Escape

Mathematica in does not understand |x| , where | is the normal bar on the
keyboard.
We can use:

Plot[Abs[x],{x,-2,2}]

If you want  to see the inputs above in traditional notation then select the
cells (click on the bracket) and then use the menu  Cell> Convert To>
Traditional Form.
Then reevaluate them to check that they work.
We can type directly in traditional form, but that takes us into
typsetting ---- .

--
Allan
---------------------
Allan Hayes
Mathematica Training and Consulting
Leicester UK
www.haystack.demon.co.uk
hay at haystack.demon.co.uk
Voice: +44 (0)116 271 4198
Fax: +44 (0)870 164 0565

"Tony" <tony at magic101.freeserve.co.uk> wrote in message
news:96asej$6f9 at smc.vnet.net...
> I have a trial version of this software.
>
> Can anyone tell me how I plot a graph such as
>
> 1 + e to power of x
>
> I am damned if I can find out how to do this
>
> Please Please someone help
>
> Another 2 I am having difficulty with is plotting
>
> cos(pi x)  Pi having its symbolic sign
>
> and
>
> |x-1|
>
> Im probably just a numpty right enough
>
> Please email to tony at magic101.co.uk
>
> Thanx
>
> Tony
>
>
>






  • Prev by Date: Re Complicated Rotation
  • Next by Date: Combination Algorithm without brut force - Combine 4's into least 6's
  • Previous by thread: Re: Mathematica 4.1 How to.....
  • Next by thread: Banach-Tarski.nb in Mathematica Journal?