Hysteresis occurs in ferromagnetic materials and ferroelectric materials. It also occurs in the deformation of some materials (such as rubber bands and shape-memory alloys). Many artificial systems are designed to have hysteresis: for example, in thermostats and computers.