P4525 [Template] Adaptive Simpson's Rule 1

Description

Compute the integral $\displaystyle{\int_L^R\frac{cx+d}{ax+b}\mathrm{d}x}$ Round the result to $6$ decimal places. The testdata guarantees that the denominator is not $0$ during the computation and the integral converges.

Input Format

One line containing $6$ real numbers $a,b,c,d,L,R$.

Output Format

One line with the value of the integral, rounded to $6$ decimal places.

Explanation/Hint

$a,b,c,d\in[-10,10]$,$-100\le L