Write a progrem to calculate and compare the behavior of two,nearly identical pendulums.Use it to calculate the divergence of two nearby trajectories in the chaotic regime,as in Figure3.7,and make a qualitative estimate of the corresponding Lyapunov exponent from the slope of a plot of log()as a function of t.