Question: Cant plot my procedure

Dear all

I use Maple 2018 and have following problem:

 

I define following procedure and want to plot it. However Maple displays the coordinate system but does not plot anything nor gives and error message. Hope you can help.

 

Thanks

Murad

b:=proc(n)
local b,i:
 for i from 0 to n do
  if i=0 then
   b[0]:=0:
  elif i=1 then
   b[1]:=1:
  else
   b[i]:=(b[i-1]+b[i-2])/2:
  end if:
 end do:

return b[n]

end proc:

 

plot(b,0..10)

 

Please Wait...