Template:Maximization/advancedcalc