Example: Work is a Path Function