Respiratory alkalosis occur in -
Excessive ventilation drives out CO2 from the body causing respiratory alkalosis.
Primary hyperaldosteronisni and pyloric stenosis cause metabolic alkalosis
Diabetic ketoacidosis causes metabolic acidosis
Consider the equation