Why do you think Middle Earth is set in a Medieval setting?
I dont mean why is it set in medieval times. It is set there for various reasons such as because Tolkien wanted it set there.
What I mean is, the third age is 3000 years, the second age is approximately that as well, and I cant recall...