Let np and ne be the number of holes and conduction electrons