It sometimes helps to study the history of whatever subject you are working towards in school. For example, the history of mathematics can provide a lot of inspiration for what can be done with the knowledge. Focus on the outcomes you want and see the schooling as a means to an end.