Status: New
Owner: ----
Labels: Type-Defect Priority-Medium
New issue 3745 by [email protected]: Sympy doesn't solve a recurrence with
initial conditions
http://code.google.com/p/sympy/issues/detail?id=3745
Reporting from Paul Zimmermann at Sage ticket
http://trac.sagemath.org/sage_trac/ticket/14437:
In [1]: import sympy
In [3]: u = sympy.Function('u')
In [5]: n = sympy.Symbol('n',integer=True)
In [6]: f = u(n+2) - u(n+1) + u(n)/4
In [7]: sympy.rsolve(f,u(n))
Out[7]: 2**(-n)*C0*RisingFactorial(C0/C1 + 1, n)/RisingFactorial(C0/C1, n)
In [8]: sympy.rsolve(f,u(n),{u(0):0,u(1):1})
In [9]:
"The solution is (computed by Maple 15) 1/4*(8*n+8)*(1/2)^n-2*(1/2)^n."
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
--
You received this message because you are subscribed to the Google Groups
"sympy-issues" 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 http://groups.google.com/group/sympy-issues?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.