The following situation is a simulation of the Scotty Principle
Kirk: "The ship seems sluggish today. When was the last time you did a tune-up on the warp
Scotty: "Aye, sir. She's due. Last maintenance was 56 days ago."
Kirk: (light chuckle) "Well, what
are you waiting for? An ambush from cloaked Romulans?"
Scotty: "I'll need to check how much dilithium we have in supply, but she'll be better than new in no time."
Kirk: "And that will be...?"
Scotty: "Six hours."
--- four hours later ---
Scotty: "All done, sir. Care to test
--- Enterprise taken rapidly to warp
3, does a few doughnuts, comes to a smooth stop ---
Kirk: "Scotty, there's no finer engineer in this quadrant!"