Re: Plotting recursive functions with Maxima-5.9.3
- From: "Richard Fateman" <fateman@xxxxxxxxxxxxxxx>
- Date: Wed, 26 Apr 2006 01:47:26 GMT
<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
.
- Follow-Ups:
- Re: Plotting recursive functions with Maxima-5.9.3
- From: TechGenius
- Re: Plotting recursive functions with Maxima-5.9.3
- References:
- Plotting recursive functions with Maxima-5.9.3
- From: tavianator
- Plotting recursive functions with Maxima-5.9.3
- Prev by Date: Plotting recursive functions with Maxima-5.9.3
- Next by Date: Re: Plotting text in MuPAD 3.0
- Previous by thread: Plotting recursive functions with Maxima-5.9.3
- Next by thread: Re: Plotting recursive functions with Maxima-5.9.3
- Index(es):