# need suggestion regarding formula for web-based game

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.

-
You could do a bit of factoring. E.g., in the second formula, $$\text{cost to build}=\text {coal mine cost}+(.5)(\text{acres}) (\text{iron} +\text{steel})$$ –  David Mitra Jan 19 '12 at 15:15
@pirzada Welcome to math.SE. Please look through FAQ on how to ask a question. Your question lacks focus, does not specify the criteria of improvement of your formula, thus making it difficult to properly answer. The question as is is likely to be closed as either non constructive, or of topic. The title of the question is not indicative of what the question is about either. –  Sasha Jan 19 '12 at 15:16
What do you think is the problem with these formulas? Any computer built in the last ten years can store millions of such formulas in memory. –  Jay Jan 19 '12 at 15:19
What does "more robust" mean? –  Arturo Magidin Jan 19 '12 at 17:42
How can we determine whether the formulae can be made more accurate unless you tell us precisely what you want them to do? –  jwodder Jan 19 '12 at 17:48