sum of 0.2 * min(max(.00742 *80000 * sin(pi * 0.2 * n / 525), 0), 380) for n from 0 to 2999