Answered parts 1 and 2 (loading and mean total)
Answered part 3 (avg daily pattern)
Complete code; markdown needs formatting