Evaluate
function
oscillator
:
f
(
x
)
=
c
1
+
c
2
sin
(
c
3
2
π
x
)
integration
rule
Simpson
'
s
:
2
nd
order
c
1
0
c
2
1
c
3
-
2
.
2
segments
3
limits
lower
,
a
0
upper
,
b
1
●
●
●
●
●
●
●
●
●
●
●
●
●
●
0
1
x
-
1
.
0
-
0
.
5
0
.
5
1
.
0
f
(
x
)
I
=
-
0
.
05
error
=
38
.
%