high input voltage into an L7805 - would like to add a resistor to drop Vin, but not sure how to calculate
In the datasheet, it gives a formula, R = (Vi(min)-Vxx -Vdrop(max)) / (IO(max)+Id(max))
My IO is 0.1A, My output voltage is 5V. My input is currently 24V. I saw some discussion that I think I should consider the Vdrop to be 7V. Is Vxx the voltage I want after my resistor? Min input should be 7.5, but I was thinking 10-12V. I don't know what Id is.
See Pae 27 of link

