First, here is the full code. I will explain the details in the comments. import sympy as sym import numpy as np import matplotlib.pyplot as plt xmin, xmax = 0.01, 10 # プロット範囲 ymin, ymax = -1, 1000 # ...