公式:second input*sqrt(second input**2-first input**2)*pi/4
最好輸入都用 double
設輸出精確度(C++)可以這樣寫:cout<<fixed<<setprecision(3)<<r<<endl;