Chem Lab Experiments Need subroutines for: - select lab (A, B, C, D) - information (list target substance, show chemicals available, show formulas) - get equipment ( beaker, flask, stopper with gas line or burner) - get burner (light and extinguish) - add chemical (solid, liquid or gas; input name OR formula; pass value to check for reaction) - reaction (phase change, color change, or explosion with reaction message pop-up) General chemical behaviors UNLESS reaction occurs ... solid + solid = bigger lump of solid in beaker or flask solid + liquid = liquid liquid + liquid = greater volume of liquid in beaker or flask solid or liquid + gas = no visible difference (hissing sound may be needed) gas + gas = no visible difference (hissing sound if possible or no change) heating solid - no change or melt heating liquid - bubbling heating gas - increased pitch of hissing sound if sound used Reaction possibilities ... Phase change (solid to liquid, liquid to solid, liquid to gas) Color Change Explosion Specific reactions detailed for each lab A. Chalk It Up Raw materials: calcium hydroxide (solid) CaOH carbonic acid (liquid) H2CO3 nitrogen (gas) N2 hydrogen (gas) H2 Target substance: calcium carbonate (solid) CaCO3 Reactions: calcium hydroxide (solid) + carbonic acid (liquid) = calcium carbonate (solid) liquid combination turns back into white solid no other combinations yield reaction Message: Just in time to save us from the sound of fingernails scraping on the chalkboard! You made chalk! --------------------------------------------------------- B. Pinch Hitting Raw materials: sodium hydroxide (solid) NaOH hydrochloric acid (liquid) HCl water (liquid)H2O hydrogen (gas) H2 nitrogen (gas) N2 Target substance: sodium chloride (solid) NaCl Reactions: sodium hydroxide (solid) + hydrochloric acid (liquid) = sodium chloride (solid) liquid combination turns back into white solid no other combinations yield reaction Message: Finger lickin' good! You added just the right touch of sodium chloride. --------------------------------------------------------- C. RATS! Raw materials: carbon (solid) C lead (solid) Pb sulfur (solid) S nitric acid (liquid) HNO3 sulfuric acid (liquid) H2SO4 cardon dioxide (gas) CO2 Target substance: carbon disulfide (liquid) CS2 Reactions: 1. carbon + sulfuric acid + heat from bunsen burner = sulfur dioxide and carbon dioxide liquid combination boils and produces some gas 2. carbon + nitric acid + heat from bunsen burner = nitrous acid and carbon dioxide liquid combination boils and produces some gas 3. sulfur + carbon dioxide + heat from bunsen burner = sulfur dioxide and carbon disulfide liquid combination boils and produces some gas Message: 1. Ugh, cough. You're polluting the air with sulfur dioxide and making CO2. The rats keep coming. 2. Nitrous acid eats holes in your lab coat and CO2 warms the air, but neither will get the rats! 3. Sulfur dioxide smells rotten, but the carbon disulfied kills the rats. Congratulations! --------------------------------------------------------- D. Feed For Thought - This one may be an extra ... more on it later Raw materials: sulfur (solid) S sodium chloride (solid) NaCl iron oxide (solid) Fe2O3 nitric acid (liquid) HNO3 ammonium hydroxide (liquid) fluorine (gas) Fl Target substance: ammonium nitrate (solid) Reactions: