Re: derivate of Bessel function
- To: mathgroup at smc.vnet.net
- Subject: [mg84744] Re: derivate of Bessel function
- From: Norbert Marxer <marxer at mec.li>
- Date: Fri, 11 Jan 2008 22:13:35 -0500 (EST)
- References: <fm7dr2$esv$1@smc.vnet.net>
On 11 Jan., 10:45, ma <p.mauri... at gmail.com> wrote: > Hi, > > i have to plot the derivate of bessel function of first kind of order n. > n is a vector from 0 to N=21. > i have the same problem eith the plot of derivate of Hankel function > of kind 2 of order n. > > i tried with another system, but i can't able to do it. > > anyone can help me, please? > > thank you! Hello You get the derivatives with: funcs = Table[D[BesselJ[n, x], x], {n, 0, 21}]; The you can plot all of them using: Plot[funcs, {x, 0, 50}] or some of them (e.g. the first 5) using Plot[Evaluate[funcs[[1 ;; 5]]], {x, 0, 50}] Note that you have to use Evaluate to get different colors for the different curves. Note that index 1 (for funcs) corresponds to the order 0 (of the Bessel function). Best Regards Norbert Marxer