To maintain your willpower, you need glucose. Always eat well and healthy when you have an important exam or project.
Willpower: Rediscovering the Greatest Human Strength
Positive thinking makes life easier, but the key to success is discipline. Fortunately, one can practice discipline by training one's willpower.