Power and average power for a one dimensional wave: derivation and example.