MathGroup Archive 2010

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

Search the Archive

Very very basic question about Mathematica expressions

  • To: mathgroup at smc.vnet.net
  • Subject: [mg111090] Very very basic question about Mathematica expressions
  • From: Sam Takoy <sam.takoy at yahoo.com>
  • Date: Tue, 20 Jul 2010 03:42:13 -0400 (EDT)

Hi,

I find that I don't understand a very basic thing about the building 
blocks of Mathematica.

When the first command is

s = x + h

I figured that (string?) "s" represents (string?) "x+h".

This theory pans out when one tries

s^2

or

D[s, x]

or

Integrate[s, {x, 0, h}]

and

s /. h -> 1

But then by doesn't this work:

Manipulate[ Plot[s, {x, 0, h}], {h, 0.1, 1}]

Many thanks in advance!


  • Prev by Date: Re: Problems with Workbench Debugger Breakpoints
  • Next by Date: Re: Avoid the use of certain functions
  • Previous by thread: Re: What's wrong with this assuming?
  • Next by thread: Re: Very very basic question about Mathematica expressions