HOW TO CALCULATE THE POWER GENERATED BY