A simple model of a supernova