This circuit converts a higher input voltage > 10V to a variable output voltage < 10V. It is independent of the input voltage and is energy efficient.
A little bug: The transistors do not fully close when they should. I assume this is a bug in this app. I will build this circuit later to see if this is true.