If you've ever been chastised for erupting into profanity after stubbing your toe in the middle of the night, science has your back on this one.