Hi: I want to use power series to solve second order differential equation. Albeit sympy.ode already has 2nd_power_series_ordinary and 2nd_power_series_regular to do the job, it does not provide the recurrence relation of coefficient. What I actually need is the recurrence relation of coefficient. So I follow the standard procedure of power series
<https://lh3.googleusercontent.com/-aL0clinbaqI/V6z4HLXDZHI/AAAAAAAAABc/316KUZNzi3sjBVDrz50xE6Lv7PTB10GIQCLcB/s1600/untitled.png> and apply it to sturm liouville form of legendre equation. The next job is to get the coefficient of x**i, I can not directly use legendre.coeffs(x,i), so I want to extract the sum symbol outside just like that in the last markdown and then use args to extract the expression inside sum and I can do more operation. The problem is how to extract the sum symbol outside just like that in the last markdown. sympy.extend and sympy.factor do not do the job. Which function in sympy actually the job? -- You received this message because you are subscribed to the Google Groups "sympy" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/sympy. To view this discussion on the web visit https://groups.google.com/d/msgid/sympy/bd34407d-76cb-4ee2-a878-9a4d4689ea2b%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
