% % problem 241 % example 213 % % Written by: % -- % John L. Weatherwax 2008-02-20 % % email: wax@alum.mit.edu % % Please send comments and especially bug reports to the % above email address. % %----- clear all; close all; clc; mu = 45; sig = 15/sqrt(100); xbar = 47.2; zobs = (xbar-mu)/sig; pval = 1-normcdf( zobs, 0, 1 );