Number Line with Calculator
Here a number line can be set to a specific range from to and a value displayed on it. This value can be entered directly or calculated. Numbers and basic arithmetic operations + - * / are permitted as input for the value, as is the power pow(), for example, pow(2#5) for 25. Other permitted functions are sin(), cos(), tan(), asin(), acos(), atan(), log() for the natural logarithm, and fac() for the factorial. The constants e and pi are also permitted. The result is calculated and displayed at the correct position on the number line. It is also possible to adjust the slider on the number line to display the corresponding value there. The result is rounded to 13 decimal places.
The interval of values, i.e., the range from to, can also include negative numbers. However, the from value must, of course, be smaller than the to value. Changing one of these two values shifts the point on the displayed number line, but does not change the result.
For example, the value is 2*pi, i.e., 6.2831853071796. This lies quite far to the left within the preset interval of the number line from 0 to 100. However, if the number line is only displayed from 0 to 10, then this value lies slightly right of center.
The mathematical number line maps the continuum of real numbers on a straight line. Here, only a section of this number line is shown, corresponding to the range of values from to. The value cannot, of course, be represented exactly, but only approximately, since the number line used here, unlike the mathematical number line, cannot be divided into infinitely small points. The representable values are exclusively rational numbers.