Today, as always, it is a serious mistake to add a length with an area.
Nowadays, everyone who attempts to do such things should understand that the value of a physical quantity is the product between a scalar (i.e. real number) with a unit of measurement.
The addition of distinct physical quantities is impossible, because the addition between distinct units of measurement is undefined (because there is no useful definition).
However, if you detach the scalars from the complete values of some physical quantities, those are elements of the field of the real numbers, so you can do any operations with them, not only addition, but you can compute arbitrary functions, like transcendental functions, e.g. logarithms (which you cannot compute using as argument a complete physical quantity, including a unit of measurement).
In the ancient Greek mathematics, the notions of physical quantity and measurement were not well formalized, even if they had some intuitive understanding, so they would not normally try to perform invalid operations with physical quantities. The concepts of physical quantity and measurement became well understood only in the 19th century, e.g. in the works of people like Weber and Maxwell.
Nevertheless, in the ancient Greek texts there are also examples of numbers that were detached from some geometric quantities and then used in unrelated operations where their origin was no longer taken into account. A simple example is the use in various arithmetic problems of several kinds of "geometric" numbers, e.g. square numbers, triangular numbers, cubic numbers or pyramidal numbers, i.e. numbers that were computed using formulae for areas or volumes, but which were used in applications were there were no areas or volumes involved.
Another example is the use of mechanical devices for the computation of some irrational or transcendental functions, which could be used for solving some famous problems like the trisection of an angle, the quadrature of a circle or the doubling of a cube. In such mechanical devices there were e.g. some lengths that were numerically equal with areas or volumes in the related problems. (While such mechanical devices, which were examples of analog computers, have been built and they have solved the problems, such solutions were considered cheating, because those problems had been formulated with the restriction of using only a straightedge and a compass for their solution, which is now known to be impossible.)
The essence of analog computing, whence the name "analog" comes, is that you have in the analog computer some physical quantities that are numerically equal (using some arbitrary units) with some physical quantities in the problem that must be solved by the computer, even if the nature of the physical quantities is very different. Analog computing is an important example of detaching the real number value from the complete physical quantity, and as I have said, there are examples of simple analog computers, dedicated to the computation of some irrational or transcendental functions, already since the Greek Antiquity.
Nowadays, everyone who attempts to do such things should understand that the value of a physical quantity is the product between a scalar (i.e. real number) with a unit of measurement.
The addition of distinct physical quantities is impossible, because the addition between distinct units of measurement is undefined (because there is no useful definition).
However, if you detach the scalars from the complete values of some physical quantities, those are elements of the field of the real numbers, so you can do any operations with them, not only addition, but you can compute arbitrary functions, like transcendental functions, e.g. logarithms (which you cannot compute using as argument a complete physical quantity, including a unit of measurement).
In the ancient Greek mathematics, the notions of physical quantity and measurement were not well formalized, even if they had some intuitive understanding, so they would not normally try to perform invalid operations with physical quantities. The concepts of physical quantity and measurement became well understood only in the 19th century, e.g. in the works of people like Weber and Maxwell.
Nevertheless, in the ancient Greek texts there are also examples of numbers that were detached from some geometric quantities and then used in unrelated operations where their origin was no longer taken into account. A simple example is the use in various arithmetic problems of several kinds of "geometric" numbers, e.g. square numbers, triangular numbers, cubic numbers or pyramidal numbers, i.e. numbers that were computed using formulae for areas or volumes, but which were used in applications were there were no areas or volumes involved.
Another example is the use of mechanical devices for the computation of some irrational or transcendental functions, which could be used for solving some famous problems like the trisection of an angle, the quadrature of a circle or the doubling of a cube. In such mechanical devices there were e.g. some lengths that were numerically equal with areas or volumes in the related problems. (While such mechanical devices, which were examples of analog computers, have been built and they have solved the problems, such solutions were considered cheating, because those problems had been formulated with the restriction of using only a straightedge and a compass for their solution, which is now known to be impossible.)
The essence of analog computing, whence the name "analog" comes, is that you have in the analog computer some physical quantities that are numerically equal (using some arbitrary units) with some physical quantities in the problem that must be solved by the computer, even if the nature of the physical quantities is very different. Analog computing is an important example of detaching the real number value from the complete physical quantity, and as I have said, there are examples of simple analog computers, dedicated to the computation of some irrational or transcendental functions, already since the Greek Antiquity.