Hi, I try to plot the following composite Sum of Bessel functions, with the given coefficients An-D_n prepared and inserted for, and with N defined as 5 (and not infinity):
and use:
un[r_, phi_] :=
Piecewise[{Sum[
0.018778093057411193`*BesselJ[1.5 r, n]*Exp[I n phi], {k, -5,
5}, {0 < r <
1/2}]} {Sum[(0.00042221117650360055`*BesselJ[3 r, n] +
3.0261301163279267`*^-10*BesselY[3 r, n])*
Exp[I n phi], {k, -5, 5}, {1/2 < r < 1}]},
{Sum[5.062485836886407`*^-9*HankelH1[r, n]*Exp[I n phi], {k, -5,
5}, {r > 1}]}]
But although it seems fine, I get tons of errors
What is wrong here?
Thanks!