Princeton has an endowment of $5$ million dollars and wants to invest it into improving campus life. The university has three options: it can either invest in improving the dorms, campus parties or dining hall food quality. If they invest $a$ million dollars in the dorms, the students will spend an additional $5a$ hours per week studying. If the university invests $b$ million dollars in better food, the students will spend an additional $3b$ hours per week studying. Finally, if the $c$ million dollars are invested in parties, students will be more relaxed and spend $11c - c^2$ more hours per week studying. The university wants to invest its $5$ million dollars so that the students get as many additional hours of studying as possible. What is the maximal amount that students get to study?
1. **Define the variables and constraints:**
   - Let \( a \) be the amount invested in dorms (in million dollars).
   - Let \( b \) be the amount invested in better food (in million dollars).
   - Let \( c \) be the amount invested in parties (in million dollars).
   - The total investment is constrained by \( a + b + c = 5 \).

2. **Express the additional hours of studying:**
   - Investing \( a \) million dollars in dorms results in \( 5a \) additional hours of studying per week.
   - Investing \( b \) million dollars in better food results in \( 3b \) additional hours of studying per week.
   - Investing \( c \) million dollars in parties results in \( 11c - c^2 \) additional hours of studying per week.

3. **Formulate the objective function:**
   - The total additional hours of studying, \( H \), is given by:
     \[
     H = 5a + 3b + (11c - c^2)
     \]
   - Since \( a + b + c = 5 \), we can express \( a \) and \( b \) in terms of \( c \):
     \[
     a = 5 - b - c
     \]

4. **Simplify the objective function:**
   - Substitute \( a = 5 - b - c \) into the objective function:
     \[
     H = 5(5 - b - c) + 3b + (11c - c^2)
     \]
     \[
     H = 25 - 5b - 5c + 3b + 11c - c^2
     \]
     \[
     H = 25 - 2b + 6c - c^2
     \]

5. **Analyze the simplified function:**
   - To maximize \( H \), we need to consider the terms involving \( b \) and \( c \). Since \( b \) has a negative coefficient, it is not sensible to invest in better food (\( b = 0 \)).
   - Thus, the objective function reduces to:
     \[
     H = 25 + 6c - c^2
     \]

6. **Maximize the quadratic function:**
   - The function \( H = 25 + 6c - c^2 \) is a downward-opening parabola. The maximum value occurs at the vertex.
   - The vertex of a quadratic function \( ax^2 + bx + c \) is given by \( x = -\frac{b}{2a} \).
   - Here, \( a = -1 \) and \( b = 6 \), so:
     \[
     c = -\frac{6}{2(-1)} = 3
     \]

7. **Calculate the maximum value:**
   - Substitute \( c = 3 \) into the objective function:
     \[
     H = 25 + 6(3) - (3)^2
     \]
     \[
     H = 25 + 18 - 9
     \]
     \[
     H = 34
     \]

Therefore, the maximum additional hours of studying is \( \boxed{34} \).