physics power definition code example Example: definition of power in physics work done per unit time