Would a linear diminishing return do? \$production\ per\ farm = (1 - (0.05 \frac{ f}{10}) ) * production\ rate\$. This gives a total production (rate * # of farms) peak at f = 100.