Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2004
*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 2004

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

Search the Archive

Re: Why do two equivalent expression give different answers?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg47398] Re: Why do two equivalent expression give different answers?
  • From: bobhanlon at aol.com (Bob Hanlon)
  • Date: Thu, 8 Apr 2004 05:45:55 -0400 (EDT)
  • References: <c527dc$dtu$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

Use Evaluate as stated in the on-line help for Plot.

Plot[Evaluate[Table[t^c,{c,1,2}]],{t,0.5,1.2}];


Bob Hanlon

In article <c527dc$dtu$1 at smc.vnet.net>, chamster at home.se (Konrad Den Ende)
wrote:

<< I started Mathematica and went:


Plot[
Table[t^c, {c, 1, 2}],
{t,0.5, 1.2} ]
but it didn't like it.

So i computed Table[t^c, {c, 1, 4}] explicitly in an other cell and then
pasted the result into the expression as follows
Plot[
{t,t^2},
{t,0.5, 1.2} ]
and then it went well.

So i have two wonderings.
a) How come there's a difference?!
b) How do i make Mathematica accept what i try to do?


  • Prev by Date: Re: function that gives list of roots
  • Next by Date: Re: function that gives list of roots
  • Previous by thread: Re: Why do two equivalent expression give different answers?
  • Next by thread: Re: Why do two equivalent expression give different answers?