MathGroup Archive 2005

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

Search the Archive

Re: Boundary conditions in NDSolve

  • To: mathgroup at
  • Subject: [mg56860] Re: Boundary conditions in NDSolve
  • From: YZ <z at ***>
  • Date: Sat, 7 May 2005 15:35:24 -0400 (EDT)
  • References: <d5ctii$mbp$>
  • Sender: owner-wri-mathgroup at

YZ wrote:
> Hello,
> when I NDSolve a 2nd order DE, I cant seem to give two boundary 
> conditions at different point of an interval I am solving it on:
> NDSolve[{f''[x]==K^2*Sin[f[x]],f'[-L]==A, f[-L]==B},f,{x,-L,L}] 
> produces good result, but i.e.
> NDSolve[{f''[x]==K^2*Sin[f[x]],f'[-L]==A, f[L]==B},f,{x,-L,L}]
>   ____here derivative is given at left edge, but the functi0n itself is 
> given at the right edge___
> produces error:
> NDSolve::"bvlin"
> "The differential equation(s) and/or boundary conditions are not linear 
> in the dependent variables. NDSolve requires linearity to compute the 
> solution of a multipoint boundary value problem. "
> Is there a way around this?
> Thanks
> YZ
THanks Chris and Ramesh,

after I posted this, I did some more research and pretty much figured 
out myself what you described. I should've done it before :-)


  • Prev by Date: Re: InitializationCell -> Toggle shortcut key
  • Next by Date: Re: How to quickly find number of non-zero elements in sparse matrix rows?
  • Previous by thread: Re: Boundary conditions in NDSolve
  • Next by thread: Bug in Integrate in Version 5.1?