The mechanics of electronic materials