You can put this solution on YOUR website! make m the subject of the formula
f = s(M-m)/(M+m)
------
f(M+m) = sM-sm
--------
fM + fm = sM-sm
----
Get the m-terms together:
fm+sm = sM-fM
---
Factor:
m(f+s) = M(s-f)
-----
m = [M(s-f)/(s+f)]
=======================
Cheers,
Stan H.
==================