CGI Interview Question

Create a function that calculates a given equation from the command line