Making Links


from marv klotz

We've all used vernier calipers. Isn't it clever how a second scale sliding next to the primary scale can allow one to read a measurement to a precision (not the same as accuracy!) smaller than that of the primary scale?
I wanted to have this capability on a tool I built and so had to think out the process of designing verniers. I don't do this often so I'd probably forget the process by the next time I needed to do it. Not only does a program simplify the process of doing the calculations, it serves as a memory for what is needed and how the computations should be done. Design it carefully once and you'll never have to rethink the problem.
An example is the best way to describe the operation of the program. We'll use the defaults that are wired into the program as our example.
Suppose you have a ruler marked off in inches. Each inch is subdivided into eighths of an inch. You'd like to build a sliding vernier that moves along this ruler and allows you to measure motion to the nearest thirty-second of an inch. How long does the vernier scale need to be and how should it be subdivided to accomplish this?
Run the program and get the following output (my comments, indicated below [used italics instead] with the brackets '/* */' are not part of the program output).



Vernier Example: eighths


Vernier Example: tenths

Suppose our 1.0 major division were subdivided into tenths and we wanted to use the vernier to measure to the nearest 0.01.


Note that the program makes no assumption about the units of the quantities input. You can design verniers for metric scales just as easily as for English scales, so long as you're consistent about your inputs.



Vernier Design

Input the following parameters:





Vernier Scale Parameters




Custom Vernier: Enter Preferred Scale Size