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

MathGroup Archive 2008

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

Search the Archive

NDSolve Question

  • To: mathgroup at smc.vnet.net
  • Subject: [mg86328] NDSolve Question
  • From: "David Park" <djmpark at comcast.net>
  • Date: Sat, 8 Mar 2008 05:44:14 -0500 (EST)

Suppose I have a system like the following:

f[q_]= some function with side affects

NDSolve[{x'[t]==f[x[t]], x[0]==0},{x},{t, 0, 1}]

My problem is that f[x[t]] seems to be evaluated before NDSolve starts 
solving the equations and hence the routines always use the initially 
evaluated form. I would like to have f[x[t]] to not be initially evaluated. 
Is that possible with NDSolve? Is there any particular Method or Option that 
can control the initial evaluation?

-- 
David Park
djmpark at comcast.net
http://home.comcast.net/~djmpark/




  • Prev by Date: exclusions
  • Next by Date: Re: Re: 64-bit problems with Mac version
  • Previous by thread: Re: exclusions
  • Next by thread: Re: NDSolve Question