a calculator may be used to calculate