Re: Simple equation won't plot

*To*: mathgroup at smc.vnet.net*Subject*: [mg82941] Re: [mg82917] Simple equation won't plot*From*: bsyehuda at gmail.com*Date*: Sun, 4 Nov 2007 06:08:35 -0500 (EST)*References*: <200711030827.DAA19095@smc.vnet.net>

Hi, Its seems that you copied and paste the code from a pdf source. Sometimes it happens that the character l is recognized as 1 so Plot was really P1ot which is meaningless for mathematica. Your email is quoted below, so you can easily observe this problem. as for using patterns, you are cordially referred to the documentation yehuda On 11/3/07, Bert Aerts (rm x) <bert.aertsx at advalvasx.be> 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}] > How can I get a real plot? I tried [N[x[t]] and Evaluate[x[t]] but nothing > worked... > Why is t_ used in the second equation? > The source of these equations is Ferdinand F. Cap's book "Mathematical > methods in physics and engineering with Mathematica" > > >

**References**:**Simple equation won't plot***From:*"Bert Aerts (rm x)" <bert.aertsx@advalvasx.be>