Re: Simple equation won't plot
- To: mathgroup at smc.vnet.net
- Subject: [mg82975] Re: Simple equation won't plot
- From: "Bert Aerts (rm x)" <bert.aertsx at advalvasx.be>
- Date: Mon, 5 Nov 2007 05:06:11 -0500 (EST)
- References: <fghbpj$jnk$1@smc.vnet.net>
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}]
> 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"
Thanks for all answers.
The code was copy pasted from an electronic version of the book.