Activities/Sliderule: Difference between revisions

Line 42: Line 42:
The Custom Slide Toolbar is used to make a custom slide. From left to right:
The Custom Slide Toolbar is used to make a custom slide. From left to right:
* position function of x used to calculate the horizontal position of each mark along the slide or stator (the range of this function should be 0 to 1)
* position function of x used to calculate the horizontal position of each mark along the slide or stator (the range of this function should be 0 to 1)
* result function of x used to read a value from the slide or stator (usually the inverse of the position function)
* label function of x used to calculate a label for each mark (often identity)
* label function of x used to calculate a label for each mark (often identity)
* result function of x used to read a value from the slide or stator (usually the inverse of the position function)
* results label function of x to calculate a label for the results display
* the minimum value of x used in the functions domains
* the minimum value of x used in the functions domains
* the maximum value of x used in the functions domains
* the maximum value of x used in the functions domains
Line 56: Line 55:
In the values shown in the illustration of the Custom Toolbar are used to generate a C (log) slide:
In the values shown in the illustration of the Custom Toolbar are used to generate a C (log) slide:
:the position is determined by ''f''(''x'') = ''log''(''x'', 10)
:the position is determined by ''f''(''x'') = ''log''(''x'', 10)
:the result (the inverse of ''f''(''x'')) is ''f<sup>-1</sup>''(''x'') = ''pow''(10, ''x'')
:the label is ''g''(''x'') = ''x''
:the label is ''g''(''x'') = ''x''
:the result (the inverse of ''f''(''x'')) is ''f<sup>-1</sup>''(''x'') = ''pow''(10, ''x'')
:the result label is ''h''(''x'') = ''x''
:the domain is from 1 to 10
:the domain is from 1 to 10
:the step size is 1/4.
:the step size is 1/4.