I have the following problem:
I'd like to show how the Lane-Emden equation would look like if someone would solve it as a series.
Here's the code:
θGrad = 4
θReihe[z_] = 1 + Plus @@ Table[Subscript[a, i] z^i, {i, 2,
θGrad}] + O[z]^(θGrad + 1)
θn[z_] = Series[θ[z], {z, 0, 7}]
LEGL = 1/z^2 D[z^2 D[θReihe[z], z]] + θReihe[z]^n
Unbek = Table[Subscript[a, i], {i, 2, θGrad}]
KoeffList = CoefficientList[Normal[LEGL], z]
Lösung = Solve[Thread[KoeffList == 0][[2 ;; 4]], Unbek]
The problem here is that no solution was found, when it should look like what I found on this site.
It would be very nice if somebody could find my mistake and tell me what I need to do to get it right.