sin(x)^2

cos(x)^2

f(x) = (sin(x))^(2)
a = Integral(f, 0, (2 * π))
g(x) = (cos(x))^(2)
b = true
c = true
d = Integral(g, 0, (2 * π))
k = 3 (slider from 1 to 20, step 1)
h(x) = (sin((k * x)))^(2)
e = Integral(h, 0, (2 * π))
A = (0.9189043779316581, -0.48656547955606305)
B = (2.299490729365617, -0.49005958339122363)
C = (0.9090043824817077, -0.1360363530329308)