power calculation example