Battle Equations

So everyone knows the basics of battle (swords good against axes, spears good against lc, etc.) But I've been trying to find more specifically what the equations are for how battles are played out, but with no luck on this really old thread which only gives one example and doesnt work for everything. The battle simulator website exists so idk why this info seems to be a secret. If anyone has any info I'd love to hear. Thanks!