f(x) = abs(sin(x))
k = 0 (slider from 0 to 10, step 1)
M: (k * 3.141592653589793 / 10, f(k * 3.141592653589793 / 10))
A1 = 0
B1 = 0
A2 = 0.3141592653589793
B2 = 0.3090169943749474
A3 = 0.6283185307179586
B3 = 0.5877852522924731
A4 = 0.9424777960769379
B4 = 0.8090169943749475
A5 = 1.2566370614359172
B5 = 0.9510565162951535
A6 = 1.5707963267948966
B6 = 1
A7 = 1.8849555921538759
B7 = 0.9510565162951536
A8 = 2.199114857512855
B8 = 0.8090169943749475
A9 = 2.5132741228718345
B9 = 0.5877852522924732
A10 = 2.827433388230814
B10 = 0.3090169943749475
A11 = 3.141592653589793
B11 = 1.2246467991473532E-16