# Square/cube root calculator

In the exact sciences, the operation of extracting the square root is widely used. It is denoted by the sign "√" and is calculated as squaring "vice versa". That is, x = √x². In this case, x must be a real number, or complex - in the case of a mathematical generalization. Since x and −x squared give the same positive value, there is the concept of an arithmetic square root, whose value is always ⩾ 0.

## History of the square root

Archaeological studies indicate that the square root was used as early as the 18th-16th centuries BC - in the Babylonian kingdom. Direct proof of this is the YBC 7289 tablet found in Babylon, dated 1800-1600 BC. It shows the results of extracting the square roots of 2 and 2/2, to five decimal places.

In ancient Greece, around the 4th century BC, Theaetetus of Athens discovered an important regularity of the square root. If it is impossible to extract an integer (natural) root from a number, the result will always be irrational, that is, it cannot be represented as an ordinary fraction m / n, where m and n are integers. So, if √4 = 2, then √3 = 1.7320508075688772935... A vivid example of such irrational numbers is the constant π with an infinite number of non-repeating digital combinations after the decimal point.

Then, in antiquity, the Latin name for the square root appeared - "radical", which translates as "root" (radix). In the Middle Ages, this was the reason for the emergence of a new designation / abbreviation for square roots - Rx. It, among other things, was used in his writings by the Italian mathematician Gerolamo Cardano. And the modern designation of the square root - "√" was first introduced by the German scientist Christoph Rudolph (Christoph Rudolff) in 1525. Initially, there was no dash above the radical expression, and it began to be used everywhere only in 1637 - after the publication of René Descartes' Geometry.

From the 16th to the 17th century, research on the radical in Europe showed that it could be used in the mathematics of imaginary numbers. Rafael Bombelli developed a way to calculate them using continued fractions, and Abraham de Moivre proved that taking the square root of any complex number does not lead to new types of numbers. And in the 19th century, Carl Friedrich Gauss conducted a deep study of complex roots of an arbitrary degree, opening up new horizons for scientists for further scientific research.

Today, the square root is widely used in geometry, physics, numerical methods, celestial mechanics, probability theory, statistics and computer science. For example, in many functional-level programming languages, "√" is denoted as sqrt - from the English square root.

## Cube root

In mathematics, among all the existing degrees, the most important role is played by the "square" and "cube", found in most formulas. Accordingly, the most necessary roots are square and cubic. If the first can be represented as x = √x², then the second is calculated as x = ³√x³.

A minus times a minus gives a plus, which means that the result of taking the square root will always be positive. But this rule does not work in the case of the cube root, which is an odd function. Therefore, for its calculations, a "real" (modular) result is provided:

³√x = ³√−x.

There is another form of expressing roots: through fractional degrees. According to her, the square root of the x can be written as x¹/², and the cubic root - x¹/³. In the case of complex numbers, the following equation will be true:

x¹/³ = exp ((1/3)ln x),

where ln is the principal value of the natural logarithm.

Without delving into higher mathematics, it is worth noting that the cube root is indispensable in calculations related to the volumes of bodies. Including - completely or partially submerged in water: ships, ships, submarines, bathyscaphes and so on. Many formulas describing the operation of water / underwater transport use the third power (x³) and the cube root (³√x). The same applies to air transport and spacecraft that go beyond the earth's atmosphere.

The interesting facts also include the following: unlike the square root, the cube root (in geometry) cannot be extracted with the help of "improvised" measuring devices: rulers and compasses. Therefore, such geometric actions as doubling a cube, building a regular heptagon, trisection of an angle, and so on are incompatible with it.

At the same time, the dimensions of all bodies with the same density are related to each other as the cube roots of their masses. So, if one round body weighs 2 times more than the other, the difference in their diameter will be only 26%. This often causes a deception of perception, for example, when comparing celestial bodies. So, visually (in diameter) the Earth is only 3.7 times larger than the Moon, but at the same time it is 84 times heavier.