====== Differences ====== This shows you the differences between two versions of the page.
gibson:teaching:fall-2012:math445:sickcat2.m [2012/09/27 13:45] gibson created |
gibson:teaching:fall-2012:math445:sickcat2.m [2012/09/27 13:45] (current) gibson |
||
---|---|---|---|
Line 3: | Line 3: | ||
% How likely is she to get sick two days in one week? | % How likely is she to get sick two days in one week? | ||
- | % This script is a compact but tricky solution. | + | % Here's a compact but tricky way to solve the problem |
Ntrials = 10000; % number of trials | Ntrials = 10000; % number of trials |