// Determines weight or volume of acid in ml or mg from moles public static double acidAmountPerL(Acid acid, double moles) { double amnt = moles * acid.getMolWt(); if (acid.isLiquid()) { amnt = amnt / acid.getMgPerL(); } return amnt; }