public static class MapCalculator
{
    // Returns MAP in mmHg from systolic and diastolic BP.
    public static decimal Calculate(decimal systolicBp, decimal diastolicBp) =>
        Math.Round(diastolicBp + (systolicBp - diastolicBp) / 3m, 1);
}