Question: programming in maple

The terms of a sequence an are generated by the recurrence relation

a(n+1)=a(n)−2a(n−1)+a(n−2) for n=3,4,5,...

 

Using your Maple worksheet, write a for loop to find the value of a50 given that

a1=2,a2=-1 and a3=0

 

Copy (Ctrl-C) the correct value of a50 from your Maple worksheet and paste (Crtl-V) it in th answer box.

Preview Change entry mode 

 

 

Please Wait...