Message Boards Message Boards

0
|
5167 Views
|
5 Replies
|
2 Total Likes
View groups...
Share
Share this post:

rsolve problems other than in documentation not getting executed.

Posted 11 years ago

can anyone help?

5 Replies
Posted 11 years ago

Attach an example notebook showing ones that do and ones that do not?

POSTED BY: Bill Simpson

sir,here is an attached notebook

Attachments:

sir, please find the attached notebook

Attachments:

Your example:

In[1]:= RSolve[{(2 n + 1) a[n] == a'[n + 1] - a'[n - 1]}, a[n], n]

RSolve::deqx: Supplied equations are not difference equations of the given functions.

a' is usually used for the derivative of a continuous function a.

Dropping the derivative mark gives,

In[1]:= RSolve[{(2 n + 1) a[n] == a[n + 1] - a[n - 1]}, a[n], n]

Out[1]= 
{{a[n] -> BesselI[1/2 + n, -1]*C[1] + BesselK[1/2 + n, 1]*C[2]}} 

where C[1] and C[2] depend on the initial conditions.

POSTED BY: Bruce Miller

Thank you sir.

Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract