I downloaded LT1117 demo circuit, from https://www.analog.com/en/products/lt1117.html#product-tools, for LTSpice simulation.
Open it and changed the input source to sine(5 .5 1k .05), a 5Vdc with 0.5V 1K sine wave on it. Ran the simulation and got 3.937Vdc…