#include using namespace std; int main() { ios::sync_with_stdio(false); cin.tie(0); cout << fixed << setprecision(12); double rmax, h, d; cin >> rmax >> h >> d; const double rmin = d / 2; const double rstep = (rmax - rmin) / 5e7; double ans = 0; for(double r = rmin; r < rmax; r += rstep) { double t = acos(d / 2 / r); double x = 2 * t; double x2 = x * x; ans += r * r * (x2 * x / 6 * (1 - x2 / 20 * (1 - x2 / 42))); } ans *= rstep * h / rmax; cout << ans << endl; }