Bad temper

Who else has a husband who occasionally loses his temper? I was raised in a household where we weren't allowed to lose our temper. If we felt angry or frustrated, we were expected to find other, more productive ways to let it out like running or something. But my husband wasn't raised like that, and now if he's angry that he can't do a chemistry problem right or something, he starts banging his fist on the couch or walls. It scares me. I know he wouldn't ever hit me, but it brings a bad, un peaceful feeling into our home that I don't like. What should I do? I've talked to him about it before but he doesn't change. We have our first baby due in August and I never want her to see her dad lose his temper like that. It's damagin and embarrassing.