Power and Energy computation workd.