Inactive Tutor answered 03/20/16
Tutor
New to Wyzant
You probably noticed that the pay for each day is the square of the day. Add 'em up and at the end add 500000.
final pay = 500000 + ∑ (x_i)^2 as i goes from 1 to 30
where x_i is the ith day