local c = io.read("*n") local a, b = io.read("*n", "*n") print(string.format("%.8f", c * math.pi * math.pi / 4 * (a + b) * (b - a) * (b - a)))