Is break used to mean the same thing in the next two sentences?

I had to break a $100 bill just to buy the candy.

Did you two break the trolley by racing with it?
different meanings