Take the 2-minute tour ×
Mathematica Stack Exchange is a question and answer site for users of Mathematica. It's 100% free, no registration required.

NDSolve::ndnum: Encountered non-numerical value for a derivative at x \ == 0.`. >>

enter image description here

share|improve this question

closed as off-topic by bobthechemist, Michael E2, Sjoerd C. de Vries, rasher, m_goldberg Apr 12 at 21:05

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "This question arises due to a simple mistake such as a trivial syntax error, incorrect capitalization, spelling mistake, or other typographical error and is unlikely to help any future visitors, or else it is easily found in the documentation." – bobthechemist, Michael E2, Sjoerd C. de Vries, rasher, m_goldberg
If this question can be reworded to fit the rules in the help center, please edit the question.

5  
Hello ! If you have questions about code, please, post the code, not images. –  Sektor Feb 11 at 8:22
    
`Sqrt needs to start with a capital S and takes its arguments in brackets []. –  Eckhard Feb 11 at 11:02
    
thanks to everyone –  pulsetube Feb 11 at 15:12

1 Answer 1

Copied the code as best I could, what with squinting at a tiny netbook screen. As comment said, please take the time to post code properly in future queries. I'm guessing you had a symbol set somewhere that perhaps clobbered the result.

res = NDSolve[{1.00915 (2.185/(.05 + .95 x)^3 + 
        0.0414254/((1 - 0.95 Sqrt[1 - x]) (.05 + .95 x)^2)) +
     1.00915 (-4.37/(.05 + .95 x)^3 + 
        0.0828509/((1 - 0.95 Sqrt[1 - x]) (.05 + .95 x)^2))
      y[x] + (1/
          4 (-0.663788 + 
           0.167218/((1 - 0.95 Sqrt[1 - x]) (.05 + .95 x)^2)) +
        2.20499/(.05 + .95 x)^3) y[x]^2 + 
     2.32105 y'[x]/(.05 + .95 x)^2 +
     2 (0.72 - 1.16052/(.05 + .95 x)^2) y[x] y'[x] + 8.58226 y''[x] - 
     1.1036 y'[x] y''[x] == 0, y[0] == 1, y[1] == 0}, y, {x, 0, 1}]

Plot[Evaluate[y[x] /. res], {x, 0, 1}, PlotRange -> All]

(* {{y->InterpolatingFunction[{{0.,1.}},<>]}} *)

enter image description here

share|improve this answer
    
thanks, rasher! –  pulsetube Feb 11 at 15:13

Not the answer you're looking for? Browse other questions tagged or ask your own question.