To learn to apply the law ofconservation of energy to the analysis of harmonic oscillators.Systems in simple harmonic motion, or harmonicoscillators, obey the law of conservation of energy just likeall other systems do. Using energy considerations, one can analyzemany aspects of motion of the oscillator. Such an analysis can besimplified if one assumes that mechanical energy is not dissipated.In other words,,where is the total mechanical energy of the system,  is the kinetic energy, and is the potential energy.As you know, a common example of aharmonic oscillator is a mass attached to a spring. In thisproblem, we will consider a horizontally moving blockattached to a spring. Note that, since the gravitational potentialenergy is not changing in this case, it can be excluded from thecalculations.For such a system, the potential energy is stored in the springand is given by,where is the force constant of the spring and is the distance from the equilibrium position.The kinetic energy of the system is, as always,,where is the mass of the block and is the speed of the block.We will also assume that there are no resistive forces; that is,.Consider a harmonic oscillator at four different moments,labeled A, B, C, and D, as shown in the figure. Assume that theforce constant ,the mass of the block, ,and the amplitude of vibrations, ,are given. Answer the following questions.When the block is displaced a distancefrom equilibrium, the spring is stretched (or compressed) the most,and the block is momentarily at rest. Therefore, the maximumpotential energy is . At that moment, of course, . Recall that . Therefore,.In general, the mechanical energy of a harmonic oscillatorequals its potential energy at the maximum or minimumdisplacement.When the block is at the equilibrium position,the spring is not stretched (or compressed) at all. At that moment,of course, . Meanwhile, the block is at its maximum speed(). The maximum kinetic energy can then be written as. Recall that  and that  at the equilibrium position. Therefore,.Recalling what we found out before,we can now conclude that,or.Question:PartGFind the kinetic energy  of the block at the moment labeled B.Express your answer in terms ofand .