a calculator is used for mathematical functions