# Author's software

#### Being tested

Median

Writing functions:

median(a, b, c)

Median triangle cut inside the triangle, which connects the top of the triangle in the middle of the opposite side and straight, containing this line segment.

a, b, c are the sides of a triangle

Information on Wikipedia

The median of the triangle is one of the important characteristics of this geometric shape. Mathematically represented as a line that connects any of the vertices of a triangle with the middle of the opposite side, the median plays an essential role in various fields of science and practice.

The main use of the triangle median is related to its geometric properties. For example, in the area of triangles, the rule is valid, according to which the median divides the side of the triangle in half and is a unique line passing through the intersection point of all three medians. This makes it possible to use the median in problems of finding the center of gravity of a triangle or its area.

The median of a triangle also finds application in the context of determining the relative position of straight lines and planes. Using the median allows you to determine whether straight lines or planes intersect at the same point or have a parallel location. In addition, the median is used to find the height of a triangle, as well as in combinatorics, graphical representation of data and other areas of mathematics.

One of the most common ways to use the median of a triangle is to use it in geodesy and mapping tasks to determine the heights of objects. By measuring the angle between the horizontal plane and the line connecting the vertex of the triangle with its middle, it is possible to calculate the height of the object based on the triangles formed between the observation point and known points of the terrain.

The use of the triangle median is also common in statistical research and data analysis. In this context, the median is used to determine the central trend of the data and is one of the indicators describing the distribution of values. It allows you to set the most typical and average values of the studied data set, excluding possible outliers and abnormal values.

In conclusion, the median of a triangle is an important mathematical function that finds wide application in various fields of science and practice. It helps to determine the geometric properties of a triangle, the relative position of lines and planes, and is also a useful tool in geodesy, data analysis and other fields. Knowing and understanding the median of a triangle allows you to effectively use it in solving various problems and detecting patterns in the real world.

Help on built-in functions
The rules of programming scripts
Programm options
Color constants