energy plots for assignment 1