MathGroup Archive 2010

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

Search the Archive

NDSolve with Boundary Condition

  • To: mathgroup at smc.vnet.net
  • Subject: [mg107694] NDSolve with Boundary Condition
  • From: marjan <marjan84 at gmail.com>
  • Date: Tue, 23 Feb 2010 08:03:28 -0500 (EST)

Dear MathGroup members,

Please help me with this:
I am trying to solve an numerical equation: sol = NDSolve[{D[Y[z, t],
z, z] +
     10^12 Sin[Y[z, t]] Cos[Y[z, t]] == D[Y[z, t], t]
with boundary conditions: d(Y[a, t])/dz = 2*10^6  and   d(Y[b, t])/dz
= 2*10^6 , but i don't know how to write the boundary condition in
this equation. when I write it like D[Y[a, t], z] == 20*10^5, D[Y [b,
t], z] == 20*10^5 Mathematica gives this error

NDSolve::deqn: equation or list of equations expected instead of
"false" in the first argument {D[Y[z, t], z, z] +
     10^12 Sin[Y[z, t]] Cos[Y[z, t]] == D[Y[z, t], t] , False,False}

Thanks for your attention
Marjan




  • Prev by Date: Re: Exporting interactive 3D objects from Mathematica to PDF
  • Next by Date: Re: DiscreteUniformDistribution PDF isn't piecewise?
  • Previous by thread: Re: Digitizing plots with Mathematica (i.e. extracting data points
  • Next by thread: Re: NDSolve with Boundary Condition