MathGroup Archive 2004

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

Search the Archive

Re: Two-point BVP

  • To: mathgroup at smc.vnet.net
  • Subject: [mg48250] Re: Two-point BVP
  • From: "Peter Pein" <petsie at arcor.de>
  • Date: Wed, 19 May 2004 02:42:41 -0400 (EDT)
  • References: <c89pul$t43$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

"XC" <rioch at hotmail.com> schrieb im Newsbeitrag
news:c89pul$t43$1 at smc.vnet.net...
> Hi, I am pretty new with Mathematica. How can I solve the following
system?
>
> sol = NDSolve[{x''[t] == (y[
>     t] - x[t]), y''[t] == -(y[t] - x[t]), x[0] == -0.5,
>       x[1] == 0.5, y'[1] = 0., y'[0] = 0.}, {x, y}, {t, 0, 1}]
>
> It seems that I cannot set the boundary condition right.
> Thanks
>
>

Use Equal (==), not Set (=)

In this special case you should DSolve the system (using 1/2 instead of 0.5
and 0 in place of 0.)
-- 
Peter Pein, Berlin
to write to me, start the subject with [




  • Prev by Date: Re: Precision of output
  • Next by Date: Trouble : simple stuffs for beginner
  • Previous by thread: Two-point BVP
  • Next by thread: Precision of output