how did the u.s force japan to surrender and bring an end to the war world two

The US dropped the atomic bombs on Japan, and they surrendered.

Go to http://www.google.com and look up enola -- it'll be crystal clear!!