WARNING
I believe that the data below has errors in the defense strength, so is therefore not solvable. I will update it when I have more information. Thank you.
I play a game (Empire: Four Kingdoms) in which soldiers attack castles where other soldiers defend, and I'm trying to solve for the equation that they use in order to calculate losses.
I have some data points but am having a hard time determining the actual formula.
In general terms, if the attack strength stays the same, adding more defenders will lower the defenders losses (as may be imagined), but it is not linear (i.e. doubling the defending strength will not halve the losses).
Here are some data points that I have so far (in all scenarios below, all attackers were lost, but at this point I am only concerned with the defenders losses):
Qty Attackers, Qty Defenders, Attack Strength, Defense Strength, Qty Defenders Lost
52, 78, 11,954.8, 13,459.68, 69
52, 182, 11,954.8, 31,658.59, 44
52, 138, 13,041.60, 33,506.83, 35
52, 103, 11,954.80, 23,549.26, 39
52, 64, 13,041.60, 32,487.89, 17
136, 190, 17,912.83, 56,612.55, 7
42, 94, 4,869.23, 23,403.63, 7
42, 86, 4,869.23, 25,792.09, 4
42, 87, 4,956.00, 24,399.58, 5
42, 82, 4,956.00, 16,448.96, 13
46, 70, 4,724.38, 28,339.08, 5
46, 65, 9,537.00, 11,953.70, 45
46, 65, 9,537.00, 12,773.50, 41
52, 247, 8,816.08, 47,454.43, 15
52, 232, 10,032.36, 98,829.79, 8
52, 224, 8,816.08, 61,920.54, 12