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 | Science Articles, Homework Help, Discussion**

Dismiss Notice

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

**Physics Forums | Science Articles, Homework Help, Discussion**