Question: Here is one sentence: Will $100 do?
Here is another sentence: We did 6 miles on our hike every day.
Does the do mean the same thing in the two sentences?

Answer: different meanings

Question: Here is one sentence: He just did it for effect.
Here is another sentence: The new law will come into effect on the first day of next year.
Does the effect mean the same thing in the two sentences?

Answer: different meanings

Question: Here is one sentence: He could not work the math problem.
Here is another sentence: Work out your problems with the boss.
Does the work mean the same thing in the two sentences?

Answer: the same meaning

Question: Here is one sentence: The ball travelled 90 mph on his serve.
Here is another sentence: The mayor threw out the first ball.
Does the ball mean the same thing in the two sentences?

Answer:
the same meaning