Call a function to perform mathematical operation