replaced the Latex formula in task 5 because GitHub was having trouble rendering it to HTML
it was a long night.