Try Out: Calculations from Chapter 2 in JavaScript for Beginners