Re: Plotting recursive functions with Maxima-5.9.3




<tavianator@xxxxxxxxx> wrote in message
news:1146013589.390797.225100@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
If I define a simple recursive function

(%i1) sinn(n):=if n=0 then 0 else cos((n-1)/8)/8+sinn(n-1);
....

Any suggestions on how to define sinn in such a way that plotting is
possible, or a different way of calling the plot function?


to make the function defined at non-integer points, you could try

sinn(n):=if n<=0 then 0 else cos((n-1)/8)/8+sinn(n-1);

RJF


.