I'm having trouble trying to define the derivative of a bessel function. I have this:
J[n_, z_] := BesselJ[n, z];
JPrime[n_, z_] := D[J[n, z], z];
But when I type this:
I get this error:
During evaluation of In:= General::ivar: 0.5` is not a valid variable. >>
How do I define the derivate correctly so I can use it in a further calculation?
Attachment: mie scattering.nb, URL: ,