#include<iostream> #include<iomanip> #include<cmath> using namespace std; int main () { int D,L; while(cin>>D>>L) { cout<<fixed<<setprecision(3)<<double(acos(0))*(L/2.0)*sqrt((L+D)*(L-D))<<endl; } }