Activities/Sliderule: Difference between revisions
(10 intermediate revisions by 3 users not shown) | |||
Line 3: | Line 3: | ||
== Where to get Sliderule == | == Where to get Sliderule == | ||
[http://activities.sugarlabs.org/en-US/sugar/addon/4222 Activity] | [http:// | [http://activities.sugarlabs.org/en-US/sugar/addon/4222 Activity] | [http://github.com/sugarlabs/slideruler Source] | ||
== About Sliderule == | == About Sliderule == | ||
Line 23: | Line 23: | ||
=== The toolbars === | === The toolbars === | ||
There are | There are four sub-menus from the main toolbar: the standard Activity Toolbar, the Project Toolbar and the Custom Slide Toolbar and the Custom Stator Toolbar. | ||
[[Image:Sliderulemaintoolbar.jpg|right]] | [[Image:Sliderulemaintoolbar.jpg|right]] | ||
Line 40: | Line 40: | ||
[[Image:Sliderulecustomtoolbar.jpg|right]] | [[Image:Sliderulecustomtoolbar.jpg|right]] | ||
The Custom Toolbar | 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 at the cursor or reticule (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) | ||
* 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 | ||
* the step size by which to iterate between minimum and maximum when generating marks | * the step size by which to iterate between minimum and maximum when generating marks | ||
* the gear-shaped button is used to create the custom slide | * the gear-shaped button is used to create the custom slide | ||
[[Image:Statorcustomtoolbar.jpg|right]] | |||
The Custom Stator Toolbar is identical in functionality to the Custom Slide Toolbar. | |||
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 '' | :the position is determined by ''f''(''x'') = ''log''(''x'', 10) | ||
:the | :the result (the inverse of ''f''(''x'')) is ''f<sup>-1</sup>''(''x'') = ''pow''(10, ''x'') | ||
:the label is ''g''(''x'') = ''x'' | |||
:the domain is from 1 to 10 | |||
:the step size is 1. | |||
=== The keyboard shortcuts === | === The keyboard shortcuts === | ||
Line 63: | Line 69: | ||
:t: tan scale | :t: tan scale | ||
:Home: move all scales to "home" position | :Home: move all scales to "home" position | ||
:r: move reticle to home position | |||
:left arrow: jog slide left | :left arrow: jog slide left | ||
:right arrow: jog slide right | :right arrow: jog slide right | ||
Line 112: | Line 119: | ||
=== Square === | === Square === | ||
You use the A slide and D stator to square number. (A is a log-squared scale.) Simply position the reticule of number you want to square on the D stator and read the result off of the A slide. | You use the A slide and D stator to square number. (A is a log-squared scale.) Simply position the reticule of number you want to square on the D stator and read the result off of the A slide. Remember to properly estimate the proper decimal point for your result. '''Note''': the slide and stator must be aligned in order to calculate the square of a number. | ||
''e''<sup>2</sup> = 7.4 | ''e''<sup>2</sup> = 7.4 | ||
Line 159: | Line 166: | ||
== A tutorial == | == A tutorial == | ||
[[File:Slideruletute.pdf]] | [[File:Slideruletute.pdf]] 355 kB chapter 1 | ||
[[File:Slideruletute.odt]] | [[File:Slideruletute.odt]] 429 kB chapter 1 (may not display diagrams in Write) | ||
[[File:Slideruletute-ch2.pdf]] 325 kB chapter 2 | |||
[[File:Slideruletute-ch2.odt]] 287 kB chapter 2, the custom sliderule (may not display diagrams in Writes) | |||
== Just for fun == | == Just for fun == | ||
Line 170: | Line 181: | ||
You can [https://bugs.sugarlabs.org/query?status=accepted&status=assigned&status=new&status=reopened&component=Sliderule view the open tickets here]. | You can [https://bugs.sugarlabs.org/query?status=accepted&status=assigned&status=new&status=reopened&component=Sliderule view the open tickets here]. | ||
[[Category:Activities]] |