Skip to content

Commit

Permalink
Fix runtime calculation for goostat and goodiff
Browse files Browse the repository at this point in the history
*   300 choose 2 is 300*299/2.
*   The conversion from seconds to weeks was off.
  • Loading branch information
BernhardKonrad authored and Raniere Silva committed Nov 1, 2014
1 parent da57d31 commit 6ad2c06
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions 00-intro.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,12 @@ Since her lab has eight assay machines that she can use in parallel,
this step will "only" take about two weeks.

The bad news is that if she has to run `goostat` and `goodiff` by hand,
she'll have to enter filenames and click "OK" roughly 300<sup>2</sup> times
(300 runs of `goostat`, plus 300&times;299 runs of `goodiff`).
she'll have to enter filenames and click "OK" 45,150 times
(300 runs of `goostat`, plus 300&times;299/2 runs of `goodiff`).
At 30 seconds each,
that will take 18 weeks.
that will take more than another two weeks.
Not only would she miss her paper deadline,
the chances of her getting all 90,000 commands right are approximately zero.
the chances of her getting all 45,150 commands right are practically zero.

The next few lessons will explore what she should do instead.
More specifically,
Expand Down

0 comments on commit 6ad2c06

Please sign in to comment.