I have written a program that runs on an HP35S programmable pocket calculator. It assists the user in both inside and outside diameter turning operations. See
Your comments and questions are welcome. All of us are smarter than any one of us.
For the full index of my articles, see rick.sparber.org.