Final Statement for Problem 4

Final console.log detailing equation for problem 4