This will generate a sine graph with period "n" based on the desired slope at X = 0 along with desired amplitude "A", optionally showing the derivative at any point "a" on the graph. Drag the red line to change the slope, drag the yellow line to change the amplitude, drag the green point to change a (if the derivative is showing), and drag anywhere else on the graph to change width and height. Blue is the resulting sine graph, and "num of cycles" is the number of cycles within the given width.
So I had this coil I needed to make for a linear actuator (basically a motorized screw for linear motion), and I needed to know how many coils to put in a certain length of it based on the slope of them. I figured, when viewed from the side, a coil is just a sine wave with the actual slope being viewed at X = 0. I knew the slope I wanted and the diameter/height (analogous to amplitude/width) of the coil, so I spent far too long trying to figure out how to get the number of coils from that, and this is the result! Enjoy my unnecessarily hard work!