Reputation: 175
I couldn't get Maple to solve this sample function at its own documentation:
rsolve({y(n)=ny(n−1),y(0)=1},y)
The output in the documentation is Gamma(n+1)
. But when I executed the code, Maple only returns
{y(0) = 1, y(n) = ny(n-1)}
Any help is much appreciated!
Upvotes: 0
Views: 68
Reputation: 1868
You forgot to put multiplication there. Now ny
is seen as a variable, and not as n*y
. If you insert the mulitplication or a space, then the output is indeed Gamma(n+1)
Upvotes: 1