Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2004
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2004

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

Search the Archive

Re: setting multiple boundary conditions in NDSolve

  • To: mathgroup at smc.vnet.net
  • Subject: [mg48488] Re: [mg48478] setting multiple boundary conditions in NDSolve
  • From: Bob Hanlon <hanlonr at cox.net>
  • Date: Wed, 2 Jun 2004 04:21:52 -0400 (EDT)
  • Reply-to: hanlonr at cox.net
  • Sender: owner-wri-mathgroup at wolfram.com

Plot[Evaluate[y[t] /. NDSolve[
              {0 == y''[t] + y[t], y[0] == #[[1]], y'[0] == #[[2]]},
              y, {t, 0, 2 Pi}] & /@ {{0, 1}, {.5, -1}, {1, 1}}],
    {t, 0, 2Pi}];

> 
> From: mathma18 at hotmail.com ("G.L.Narasimham")
To: mathgroup at smc.vnet.net
> Date: 2004/06/01 Tue AM 03:02:53 EDT
> To: mathgroup at smc.vnet.net
> Subject: [mg48488] [mg48478] setting  multiple boundary conditions in NDSolve
> 
> How to suply boundary conditions yi,ydi as list/threads, say for sine
> curve solutions in: deqn = 0 == y''[t] +  y[t] and get all plots in
> NDSolve[{deqn, y [0]== yi,y'[0]==ydi},y,{t,0,2 Pi}]?;
> 
> 

Bob Hanlon
Chantilly, VA


  • Prev by Date: Problem with the Derivative of a Arg-function
  • Next by Date: Re: complex analysis problem in mathematica 3.0
  • Previous by thread: Re: setting multiple boundary conditions in NDSolve
  • Next by thread: Scriptable Mathematica tools for auto-editing text?