calculate

Perform basic arithmetic operations.