calculator and ex 1.1