void page3() { String t = "Step 3 - The Statistical Hypotheses"; textFont(myboldfont, 18); text(t, 30, 194); t = "Null Hypothesis:"; textFont(myfont, 18); text(t, 80, 244); image(hyp0, 225, 230); t = "Alternative Hypothesis:"; text(t, 80, 290); if (aStudy.k == 0) { image(hyp1, 275, 275); t = "(right-tailed)"; } else if (aStudy.k == 1) { image(hyp2, 275, 275); t = "(left-tailed)"; } else { image(hyp3, 275, 275); t = "(two-tailed)"; } text(t, 400, 292); t = "where mu zero has the value of " + nf(aStudy.muo, 1, 2)+"."; text(t, 80, 336); }