Algorithm Question Maximize Average of Functions
- by paradoxperfect
Hello,
I have a set of N functions each denoted by Fi(h). Each function returns some value when given an h.
I'm trying to figure out a way to maximize the average of all of the functions given some total H value.
For example, say each function represents a grade on an assignment. If I spend h hours on assignment i, I will get g = Fi(h) as my grade. I'm given H hours to finish all of the assignments. I want to maximize my average grade for all assignments.
Can anyone point me in the right direction to figure this out?