Documentos de Académico
Documentos de Profesional
Documentos de Cultura
x2d2ydx2+xdydx+(x2−n2)y=0x2d2ydx2+xdydx+(x2−n2)y=0
y=AJn(x)+BYn(x)y=AJn(x)+BYn(x)
Jn(x)=∞∑k=0(−1)k(x/2)n+2kk!(n+k)!Yn(x)=Jn(x)cos(nx)−J−n(x)sin(nx)Jn(x
)=∑k=0∞(−1)k(x/2)n+2kk!(n+k)!Yn(x)=Jn(x)cos(nx)−J−n(x)sin(nx)
J−n(x)=(−1)nJn(x)Y−n(x)=(−1)nYn(x)J−n(x)=(−1)nJn(x)Y−n(x)=(−1)nYn(x)
hold on
for n=0:3
f=@(x) besselj(n,x);
fplot(f,[0,20], 'displayName',num2str(n));
end
legend('-DynamicLegend','location','Best')
xlabel('x')
ylabel('J(x)')
title('Funciones J_n(x) de Bessel')
grid on
hold off
function r = raices(f, x)
y=f(x);
indices=find(y(1:end-1).*y(2:end)<0);
r=zeros(1,length(indices));
for k=1:length(indices)
r(k)=fzero(f, [x(indices(k)), x(indices(k)+1)]);
end
end
x=linspace(0,40,40);
f=@(x) besselj(0,x);
k=raices(f,x);
disp('J_0(x)')
disp(k)
f=@(x) besselj(1,x);
k=raices(f,x);
disp('J_1(x)')
disp(k)
f=@(x) besselj(2,x);
k=raices(f,x);
disp('J_2(x)')
disp(k)
J0(x) J1(x) J2(x)
2.4048 3.8317 5.1356
5.5201 7.0156 8.4172
8.6537 10.1735 11.6198
11.7915 13.3237 14.7960
14.9309 16.4706 17.9598
18.0711 19.6159 21.1170
21.2116 22.7601 24.2701
24.3525 25.9037 27.4206
27.4935 29.0468 30.5692
30.6346 32.1897 33.7165
Aproximaciones
Cuando x se hace grande la función Jn(x), tiende hacia
n=3;
f=@(x) sqrt(2./(pi*x)).*cos(x-n*pi/2-pi/4);
k=0:4;
hold on
fplot(@(x) besselj(n,x),[1,20])
fplot(f,[1,20])
r=(2*k+1)*pi/2+n*pi/2+pi/4; %ceros coseno
plot(r,0,'o','markersize',3,'markeredgecolor','r','markerfacecolor','r')
hold off
legend('J_n(x)','cos(x)')
xlabel('x')
ylabel('J_n(x)')
title('Funciones J_n(x) de Bessel')
grid on
hold off