midpoint_calc
Calculate the midpoint between two points in 2D space by providing their x and y coordinates.
Instructions
Calculate the midpoint between two points in 2D space.
Parameters:
x1 — X coordinate of first point.
y1 — Y coordinate of first point.
x2 — X coordinate of second point.
y2 — Y coordinate of second point.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x1 | Yes | ||
| y1 | Yes | ||
| x2 | Yes | ||
| y2 | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |