Could anyone help me with the boundary conditions for the following equation? I am not able to find the graphs displayed in the figure. They are for different u_0, one has 4 roots and the second has 2 roots.
import matplotlib.pyplot as plt
import math
import numpy as np
fig, (ax1, ax2) = plt.subplots(nrows=2, ncols=1, figsize=(5,5))
# Equation - dispersion relation
omega_p = 500
k = 5
u_0 = 5
u_02 = 10
m = 90
M = 2
omega = np.arange(0, 500, 0.1)
ksi = omega/omega_p
ksi_0 = k*u_0/omega_p
ksi_02 = k*u_02/omega_p
F = (m/M)/ksi**2 + 1/(ksi-ksi_0)**2
F2 = (m/M)/ksi**2 + 1/(ksi-ksi_02)**2
# Fig 1
ax1.plot(ksi, F)
# Fig 2
ax2.plot(ksi, F2)
plt.show()

