6.6.4 Midpoint of an interval
The
midpoint
operator finds the midpoint of an interval.
midpoint
takes
I
, an interval.
midpoint(
I
)
returns the midpoint of
I
.
Example
midpoint
(
i
[2,3])
2.50000000000000