MathGroup Archive 2005

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

Search the Archive

Re: 2.9.2 How Input and Output Work

  • To: mathgroup at
  • Subject: [mg61858] Re: [mg61834] 2.9.2 How Input and Output Work
  • From: Pratik Desai <pdesai1 at>
  • Date: Wed, 2 Nov 2005 04:09:26 -0500 (EST)
  • References: <>
  • Sender: owner-wri-mathgroup at

Steven T. Hatton wrote:

>2.9.2 How Input and Output Work of the online help states that:
>"When you type something like x^2 what Mathematica at first sees is just the
>string of characters x, ^, 2. But with the usual way that Mathematica is
>set up, it immediately knows to convert this string of characters into the
>expression Power[x, 2]."
>What does "immediately" mean in this context?  As soon as I press the '2'
>key?  When I evaluate the cell?  If it is the former, then why do I see
>"Cell[BoxData[SuperscriptBox["x", "2"]], "Input"]" when I view the
For Version 5.1
When I type in x^2 and Ctrl+Shift+E I get

    RowBox[{"x", "^", "2"}]], "Input",

When it type Superscript[x,2]
      RowBox[{"Superscript", "[",
        RowBox[{"x", ",", "2"}], "]"}],
      "\[IndentingNewLine]"}]], "Input",

I that what you expect to see

Pratik .

Pratik Desai
Graduate Student
Department of Mechanical Engineering
Phone: 410 455 8134

  • Prev by Date: Re:graphing x^2 + 4 on x, y, nad i
  • Next by Date: Re: pointsize
  • Previous by thread: 2.9.2 How Input and Output Work
  • Next by thread: Re: 2.9.2 How Input and Output Work