Function Mg(h As Double, r As Double, l As Double, m As Double) Mg = (Application.Acos((r - h) / h) * r ^ 2 - (r ^ 2 - (r - h) ^ 2) ^ 0.5 * (r - h)) * l * m End Function
Function Mg(h As Double, r As Double, l As Double, m As Double) Mg = (Application.Acos((r - h) / h) * r ^ 2 - (r ^ 2 - (r - h) ^ 2) ^ 0.5 * (r - h)) * l * m End Function