Kinetic & Potential Energy Calculation of Wave