#Lutece1877. 微积分大师学姐姐

微积分大师学姐姐

Migrated from Lutece 1877 微积分大师学姐姐

All parts of this problem, including description, images, samples, data and checker, might be broken. If you find bugs in this problem, please contact the admins.

Description

这是一道微积分题目!
求椭圆

x2a2+y2b2=1\frac{x^2}{a^2}+\frac{y^2}{b^2}=1

x=Lx=Lx=Rx=R之间的面积。

Input

输入44个小数表示a,b,L,Ra,b,L,R
1a,b1001\le a,b \le 100
aL<Ra-a\le L < R \le a

Output

输出保留3位小数
可以使用double ans = 2.0; printf("%.3f\n", ans);
推荐使用double而非float

Samples

2 1 -2 2
6.283
2 1 0 2
3.142

Note

可以使用math.h库
含有asin,acos,atan,sin,cos,tan,log,log2,log10等函数

Resources

学姐姐比武招妻