Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #14826
| From | Axel Sielaff <axel.sielaff@googlemail.com> |
|---|---|
| Newsgroups | comp.soft-sys.math.mathematica |
| Subject | problems with NDSolve |
| Date | 2013-06-12 09:25 +0000 |
| Message-ID | <kp9epj$2sr$1@smc.vnet.net> (permalink) |
| Organization | Time-Warner Telecom |
Hi,
I'm new in Mathematica and have a problem you can maybe help me with. I try to solve the differential equation given by T. G. Myers and J. P. F. Charpin (http://dx.doi.org/10.1063/1.3155185) as follows:
rho = 1700
g = 9.81
sigma = 0.00001
c = rho g / sigma
z0 = 0.1
sol = NDSolve[{x'[t] ==
c (z0 - z[t]) - tan[x[t]]/(r Sqrt[1 + tan[x[t]]^2]) ,
y'[t] == cos[x[t]], z'[t] == sin[x[t]], x[0] == 0.0001, y[0] == 0,
z[0] == 0}, {x[t], y[t], z[t]} , {t, 0, 1} ]
I get this result and don't know what to do.
NDSolve::ndnum: Encountered non-numerical value for a derivative at t == 0.`. >>
NDSolve[{Derivative[1][x][
t] == -(tan[x[t]]/(r Sqrt[1 + tan[x[t]]^2])) +
1.6677*10^9 (0.1 - z[t]), Derivative[1][y][t] == cos[x[t]],
Derivative[1][z][t] == sin[x[t]], x[0] == 0.0001, y[0] == 0,
z[0] == 0}, {x[t], y[t], z[t]}, {t, 0, 1}]
Do you have any ideas?
Thanks
Back to comp.soft-sys.math.mathematica | Previous | Next — Next in thread | Find similar | Unroll thread
problems with NDSolve Axel Sielaff <axel.sielaff@googlemail.com> - 2013-06-12 09:25 +0000 Re: problems with NDSolve "Kevin J. McCann" <kjm@KevinMcCann.com> - 2013-06-13 06:31 +0000
csiph-web