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

MathGroup Archive 2007

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

Search the Archive

Re: NDSolve with functions of vectors

  • To: mathgroup at smc.vnet.net
  • Subject: [mg82879] Re: NDSolve with functions of vectors
  • From: John Lee <johnlee_15 at hotmail.com>
  • Date: Fri, 2 Nov 2007 03:28:04 -0500 (EST)

I'd like to clarify or make this question simpler:

M0=NDSolve[{a'[s]==U[a[s]],a[0]==X},a,{s,0,6},Method->"ExplicitRungeKutta"]

Where X = {1,0,0} and U = {f(x,y,z),g(x,y,z),h(x,y,z)}

That does not work and I can't figure out why. The error I get is "Part::partw: Part 2 of a[s] does not exist." Same with "Part 3".

-John


  • Prev by Date: Dynamic palette of open notebooks
  • Next by Date: Re: Re: Parallel computations
  • Previous by thread: NDSolve with functions of vectors
  • Next by thread: Re: NDSolve with functions of vectors