See the wikipedia pages titled: "Elasticity (Physics)" and "Shape Memory Alloy".