I tried to use Scipy and EXCEL to calculate Bessel function, but they give different results. Do you know why? Thanks in advance.
Python code:
import scipy.special as ss
result = ss.k1(0.2155481626213)
print(result)
EXCEL (I use the OneDrive Excel web app of today's version)
=BESSELK(0,2155481626213; 1)
The result from Python is 4.405746469429914
The result from Excel is 4,405746474969860.
Since the error of the result is quite small, the complexity of the numerical calculations and the error propagation can cause the difference.
Side note: even Wolfram Alpha got a different value:4.405746469430.