add calculator

exercise requires dividing by pi