HW3:task3: Done using calculator from task 1.2