Physicists model how we form opinions