Physics Applied to Computer Devices