Formula()
versus Compute()
problem. With Compute()
, you don't need to set the reduceConstants
or reduceConstantFunctions
like I did, so your solution is better for that reason as well as the fact that it gets the proper error messages for incorrect answers.