Previous Up Next

5.40.7  The midpoint of an interval: midpoint

The midpoint takes an interval as argument.
midpoint returns the midpoint of the interval.
Input:

midpoint(i[2,3])

Output:

2.50000000000000

Previous Up Next