Google interview question

How to code a complex equation.