WOLFRAM
|
DEMONSTRATIONS PROJECT
T
h
e
T
r
a
p
e
z
o
i
d
a
l
R
u
l
e
f
o
r
I
n
c
r
e
a
s
i
n
g
F
u
n
c
t
i
o
n
s
n
4
L
e
t
a
=
x
0
<
x
1
<
…
<
x
n
-
1
<
x
n
=
b
b
e
a
p
a
r
t
i
t
i
o
n
o
f
[
a
,
b
]
,
w
i
t
h
x
i
+
1
-
x
i
=
b
-
a
n
;
t
h
e
n
:
b
∫
a
f
(
x
)
d
x
≈
t
h
e
s
u
m
o
f
t
h
e
r
e
c
t
a
n
g
l
e
a
r
e
a
s
+
t
h
e
s
u
m
o
f
t
h
e
t
r
i
a
n
g
l
e
a
r
e
a
s
=
n
-
1
∑
i
=
0
f
(
x
i
)
b
-
a
n
+
1
2
(
f
(
x
n
)
-
f
(
x
0
)
)
b
-
a
n
.