Services & Resources / Wolfram Forums
MathGroup Archive
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2006

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

Search the Archive

Re: NDSolve with implicit function

  • To: mathgroup at
  • Subject: [mg65890] Re: NDSolve with implicit function
  • From: "Jens-Peer Kuska" <kuska at>
  • Date: Fri, 21 Apr 2006 01:33:26 -0400 (EDT)
  • Organization: Uni Leipzig
  • References: <e27k92$5ft$>
  • Sender: owner-wri-mathgroup at


calcY[x_?NumericQ] :=
y /. FindRoot[Sin[x^2] + y - 1, {y, 1}][[1]]

sol = NDSolve[{x'[t] == Cos[x[t]*calcY[x[t]]], 
x[0] == 0}, x[t], {t, 0, Pi}];

Plot[Evaluate[x[t] /. sol[[1]]], {t, 0, Pi}];


<rondeau at> schrieb im Newsbeitrag 
news:e27k92$5ft$1 at
|I am trying to numerically solve a differential 
| {x'[t]==f[x[t],y[t]], x[0]=a} , where y[t] is 
the numerical solution to an
| implicit function g[x[t],y[t]]==0 (not a 
| In other words, given x[t], we should be able to 
numerically compute y[t]
| from the implicit function and it would enter 
numerically into the function
| f of NDSolve.
| Anyone with an idea on how to do this?
| Thanks.
| Daniel

  • Prev by Date: Re: command line question
  • Next by Date: Re: NDSolve with implicit function
  • Previous by thread: Re: NDSolve with implicit function
  • Next by thread: 3 transcendent equations, 2 unknown variables