Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #15430
| From | "vadim.oganesyan@gmail.com" <vadim.oganesyan@gmail.com> |
|---|---|
| Newsgroups | comp.soft-sys.math.mathematica |
| Subject | delayed (numerical) matrix inversion in NDSolve? |
| Date | 2013-09-13 04:28 +0000 |
| Message-ID | <l0u48g$bd5$1@smc.vnet.net> (permalink) |
| Organization | Time-Warner Telecom |
Hi, How do I get NDSolve to solve coupled ODE system in the form P[v].v'==Q[v]? P[v] and Q[v] contain all kinds of trig functions etc. but I am more or less guaranteed the existence of nice smooth solutions v, as well as 1/P for the problem at hand. As far as I can tell the difficulty is in the way NDSolve prepares the equations before iterating (using Solve, apparently?!?!): for small sizes <=4 NDSolve works without a hitch but for larger ones it hangs up. I have tried asking it to solve v'==(P)^(-1)Q and use delayed inverse to try and force numerical evaluation of the right-hand-side (which is easy) but no luck. I gave up and hand-coded a simple RK4 and/or Euler and it worked without a hitch, so I am pretty sure the problem is in the NDSolve being stubborn on the initial step. thoughts? thanks,v
Back to comp.soft-sys.math.mathematica | Previous | Next — Next in thread | Find similar | Unroll thread
delayed (numerical) matrix inversion in NDSolve? "vadim.oganesyan@gmail.com" <vadim.oganesyan@gmail.com> - 2013-09-13 04:28 +0000 Re: delayed (numerical) matrix inversion in NDSolve? burgundianvolker@gmail.com - 2013-12-12 06:27 +0000
csiph-web