From: Zachary Vance Date: Sat, 9 Jul 2022 17:28:51 +0000 (-0400) Subject: Fix coupon collector X-Git-Url: https://git.za3k.com/?a=commitdiff_plain;h=4dea10ad2543ef1eadfecf9e416b09966a10b0a4;p=za3k.git Fix coupon collector --- diff --git a/eval.html b/eval.html index f339867..5f461d0 100644 --- a/eval.html +++ b/eval.html @@ -142,7 +142,7 @@ surface_area_of_cylinder = function(r, h) { } coupon_collector = function(coupons) { // - return coupons*Math.log(coupons) + 0.577215*coupon + 0.5; + return coupons*Math.log(coupons) + 0.577215*coupons + 0.5; }