"Certainly" and "surely": a confident conundrum

What is similar?
Both "certainly" and "surely" are adverbs that are used to express confidence or certainty about a statement or situation.
What is different?
While "certainly" is often used to convey a strong affirmation or agreement, "surely" can suggest a degree of incredulity, persuasion, or reassurance, especially in questions. "Certainly" tends to be more formal, whereas "surely" can be slightly more informal or conversational.
Which one is more common?

Examples of usage
Certainly- She certainly knows how to make an entrance.
- We will certainly finish the project by the deadline.
- He is certainly qualified for the position.
- Surely, you can't be serious!
- The weather will surely improve by tomorrow.
- Surely, you knew about the meeting.