I have the following code
Needs["DifferentialEquations 'InterpolatingFunctionAnatomy
' ]
pde = D[C[x, t], t] == D[C[x, t], x, x] - (1.5*C[x, t])/(.01 + C[x, t])
soln = NDSolve[{pde, C[x, 0] == 0, C[0, t] == if[0 < t <= 10, .0089, 0], C[.01, t] == if[0 < t <= 10, 6658.125, 0]}, C, {x, 0, .01}, {t, 0, 1}]
with the following output:
NDSolve::ibcinc: Warning: boundary and initial conditions are inconsistent. >>
NDSolve::ndnum: Encountered non-numerical value for a derivative at t == 0.`. >>
Can somebody explain this error to me?