I am developing web based game in which using lots of formulas to achieve different things. I am using the formulas below. Is there any better way to make these formulas more robust and dynamic like using calculus or any other approach to make them smaller and accurate etc?
$\mathbf{Basic\ Building\ Cost}=300\text{ gold}+\frac{3}{2}(\text{# of acres}) + (0.1\text{ wood})(\text{# of acres})(\text{science})$
OR
Armory – Stores weapons and armor $\mathbf{Cost\ to\ build} = (\text{coal mine cost})+(.5\text{ iron})(\text{# of acres}) + (.5\text{ steel})(\text{# of acres}).$
Sorry didn't know about the proper tags.