6.38.4 The midpoint of an interval:
midpoint
The
midpoint
operator finds the midpoint of an interval.
midpoint
takes one argument:
I
, an interval.
midpoint(
I
)
returns the midpoint of
I
.
Example.
Input:
midpoint(i[2,3])
Output:
2.50000000000000