7 lines
221 B
Python
7 lines
221 B
Python
# Modified Bessel function of 2nd kind K_n(x) on the real line for n=0,1,2,3
|
|
k0 = lambda x: besselk(0,x)
|
|
k1 = lambda x: besselk(1,x)
|
|
k2 = lambda x: besselk(2,x)
|
|
k3 = lambda x: besselk(3,x)
|
|
plot([k0,k1,k2,k3],[0,8],[0,5])
|