the calculator takes three inputs: two numbers and an operator. The operator input can be "+" for addition, "-" for subtraction, "*" for multiplication, "/" for division, "^" for power, "sqrt" for square root, "sin", "cos" and "tan" for trigonometric functions respectively.