I am currently doing my homework and have been struggling to pass this question:
The difference equation Un = Un-1 + Un+1 is a discrete model for the equilibrium heat distribution along a straight piece of wire running from 0 units to 10 units. The temperature at 0 is 0 and the temperature at 10 is kept constant at 20 C. Show that this is the general solution that satisfies the difference equation for n = 1, 2, 3,..., 9
The answer in the book is: Generalise the sequence that is created by Un = Un-1 + Un+1.
Could someone expand on the question, what is required to solve it?