Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2007

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

Search the Archive

Re: Simple equation won't plot

  • To: mathgroup at smc.vnet.net
  • Subject: [mg82955] Re: Simple equation won't plot
  • From: Helen Read <hpr at together.net>
  • Date: Sun, 4 Nov 2007 06:15:48 -0500 (EST)
  • References: <fghbpj$jnk$1@smc.vnet.net>
  • Reply-to: HPR <read at math.uvm.edu>

Bert Aerts (rm x) wrote:
> When I type following commands in Mathematica 6.0.1:
> m = 70; a = 0.08; x0 = 5000; g = 9.81;
> x[t_] = x0 - m*Log[Cosh[t*Sqrt[g*a]/Sqrt[m]]]/a;
> P1ot[x[t], {t, 0, 60}]
> I don't get a plot, but instead:
> P1ot[5000 - 875. Log[Cosh[0.105884 t]], {t, 0, 60}]

Try fixing the typo. You have a numeral one instead of the letter l in Plot.

> Why is t_ used in the second equation?

This identifies t as an argument in the function.

-- 
Helen Read
University of Vermont


  • Prev by Date: Jagged Spine (MultinormalDistribution)
  • Next by Date: Re: Simple equation won't plot
  • Previous by thread: Re: Simple equation won't plot
  • Next by thread: Re: Simple equation won't plot