Files
mpmath--mpmath/docs/plots/besselj.py
T
2026-07-13 12:32:53 +08:00

7 lines
195 B
Python

# Bessel function J_n(x) on the real line for n=0,1,2,3
j0 = lambda x: besselj(0,x)
j1 = lambda x: besselj(1,x)
j2 = lambda x: besselj(2,x)
j3 = lambda x: besselj(3,x)
plot([j0,j1,j2,j3],[0,14])