Services & Resources / Wolfram Forums
MathGroup Archive
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2000

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

Search the Archive

Re: Simple Problem (I suppose...)

  • To: mathgroup at
  • Subject: [mg22127] Re: [mg22102] Simple Problem (I suppose...)
  • From: "David Park" <djmp at>
  • Date: Wed, 16 Feb 2000 02:34:43 -0500 (EST)
  • Sender: owner-wri-mathgroup at

Hi Andreas,

I think you have a lot of newbie errors in entering the characters.

1) Remove["Global`*"]
You must use the "backquote" in the upper left hand part of the keyboard. You used
the regular quote.  Use ` instead of '.

2) f[x_] := x^5 + x^4 + x^2
The thing following the x is the underscore character. You used a subscript. You
don't want a subscript here. The plot failed because it had no definition for f[x]
and so couldn't get a number value.

3) f2[x_] = D[f[x], x]
The same problem here. You need the underscore after the x, and your original f
definition was still bad.

4) f2[x] = D[f[x], x]
This didn't work because the original f definition was still bad. Also you will
generally not wish to make definitions that way because it will only work with x and
not other variables.

I would recommend working through as much of Part I of the Mathematica Book as you
can, typing in each of the statements until you get the hang of entering statements.
The two dimensional statements take a little practice.

For sending to MathGroup if often helps to convert the cells to InputForm

David Park
djmp at

>I just got Mathematica 4 and when I try such easy calculations as below
>and then I can't plot the result.... WHY?? I really have no clue.
>Here my text is clipped:
>Remove::"rmnsm": "There are no symbols matching \"\!\(\"Global'*\"\)\"."
>\!\(f[\(x\_-\)] := \ x\^5 + x\^4 + x\^2\)
>Plot[f[x], {x, -10, 10}];
>Plot::"plnr": "\!\(f[x]\) is not a machine-size real number at \!\(x\) =
>Plot::"plnr": "\!\(f[x]\) is not a machine-size real number at \!\(x\) =
>\!\(f2[\(x\_-\)]\  = \ \[PartialD]\_x f[x]\)
>  RowBox[{
>    SuperscriptBox["f", "\[Prime]",
>      MultilineFunction->None], "[", "x", "]"}]\)
>\!\(f2[x]\  = \ \[PartialD]\_x f[x]\)
>  RowBox[{
>    SuperscriptBox["f", "\[Prime]",
>      MultilineFunction->None], "[", "x", "]"}]\)

  • Prev by Date: Re: How to call by reference for particular argument(s)?
  • Next by Date: Re: Simple Problem (I suppose...)
  • Previous by thread: Re: Simple Problem (I suppose...)
  • Next by thread: Re: Simple Problem (I suppose...)