i have write this code.
import numpy as np import control import matplotlib.pyplot as plt m = 1; M = 5; L = 2; g = -10; d = 1; # y = [ x; dx; tetha; dtetha]