Hi all,(adsbygoogle = window.adsbygoogle || []).push({});

I'm just a beginner with mathematica, and I tried to plot the solution of the following equation

[itex] \frac{d}{dx} (x^2 \frac{d y}{dx})=x^2 e^{-y}[/itex]

with boundary conditions

[itex] y(0)=0, y'(0)=0 [/itex]

Using the following mathematica code:

NDSolve[{D[x^2 y'[x], x] == x^2 Exp[-y[x]], y[0] == 0, y'[0] == 0}, y, {x, 0, 30}]

But I got "Power::infy: "Infinite expression 1/0. encountered, ecc" and I don't know why and I don't know hot to solve and plot that equation in mathematica.

Can anyone help me?

Thank you

Mattia

**Physics Forums - The Fusion of Science and Community**

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Help with mathematica

Loading...

Similar Threads - Help mathematica | Date |
---|---|

Mathetica function (help fix my equation please) | Mar 15, 2016 |

Undetermined gauges (Help in mathematica)() | Oct 27, 2014 |

Help with "Which[] in a For loop using Mathematica | Sep 12, 2014 |

New to mathematica, some basic help needed | May 10, 2014 |

Mathematica NDSolve conditions help | Dec 22, 2013 |

**Physics Forums - The Fusion of Science and Community**