{"id":1487,"date":"2025-12-05T08:08:24","date_gmt":"2025-12-05T07:08:24","guid":{"rendered":"https:\/\/control-advent.com\/?p=1487"},"modified":"2025-12-05T08:08:26","modified_gmt":"2025-12-05T07:08:26","slug":"05-how-many-cookies-should-the-elves-eat-to-stay-safe-on-the-ice","status":"publish","type":"post","link":"https:\/\/control-advent.com\/?p=1487","title":{"rendered":"05 &#8211; How many cookies should the elves eat to stay safe on the ice?"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">The elves are out for a fun skating adventure! The ice rink is partly a frozen lake on the right side and partly an over-frozen meadow on the left side of the plot. (The border between the two areas is marked with a black line.) You can see the trails they skate along, with each trail colored according to how far they go depending on how many cookies they eat before skating. There\u2019s even a legend showing cookie amounts from 0 to 10.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"804\" src=\"https:\/\/control-advent.com\/wp-content\/uploads\/2025\/12\/image-1024x804.png\" alt=\"\" class=\"wp-image-1488\" srcset=\"https:\/\/control-advent.com\/wp-content\/uploads\/2025\/12\/image-1024x804.png 1024w, https:\/\/control-advent.com\/wp-content\/uploads\/2025\/12\/image-300x236.png 300w, https:\/\/control-advent.com\/wp-content\/uploads\/2025\/12\/image-768x603.png 768w, https:\/\/control-advent.com\/wp-content\/uploads\/2025\/12\/image-1536x1207.png 1536w, https:\/\/control-advent.com\/wp-content\/uploads\/2025\/12\/image-24x19.png 24w, https:\/\/control-advent.com\/wp-content\/uploads\/2025\/12\/image-36x28.png 36w, https:\/\/control-advent.com\/wp-content\/uploads\/2025\/12\/image-48x38.png 48w, https:\/\/control-advent.com\/wp-content\/uploads\/2025\/12\/image.png 1600w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"has-text-align-left wp-block-paragraph\">The elves have a sweet\u2014but risky\u2014problem: the more cookies they eat, the farther they skate along their trail. If they end up on the frozen lake and the sun starts melting the ice, they could end up in the water!<\/p>\n\n\n\n<p class=\"has-text-align-left wp-block-paragraph\">How many cookies should each elf eat (all get the same amount) so that when their cookie fuel runs out, a. \u2705\u2744\ufe0f\ud83c\udf89 Any amount is fine\u2014no matter how many cookies they eat, they\u2019ll stop safely.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">b. \u26a0\ufe0f\ud83c\udf0a\ud83e\udd76 Any amount means some elves will end up in the water.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">c. \ud83c\udf6a\ud83c\udf6a\u26f8\ufe0f As long as they all have only 2 cookies each, they are safe on the meadow.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">d. \ud83e\udd1e\ud83c\udf6a\u2744\ufe0f When they each eat 5 cookies, they might just be fine.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">e. \ud83c\udf6a\ud83c\udf0a\u274c As long as they all have at least 8 cookies, they are safe.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">f. \u26f8\ufe0f\ud83c\udf6a\u2705 They must eat at most 8 cookies each to be safe.<\/p>\n\n\n<div class=\"yop-poll-container\" data-yop-poll-id=\"42\"><script type=\"application\/json\" data-yop-poll-init>{\"poll\":{\"id\":\"42\",\"name\":\"05-Dec-2025\",\"template\":\"3\",\"template_base\":\"classic\",\"skin_base\":\"red-v1\",\"status\":\"published\",\"meta_data\":{\"style\":{\"poll\":{\"backgroundColor\":\"#b70004\",\"borderSize\":0,\"borderStyle\":\"none\",\"borderColor\":\"#b70004\",\"borderRadius\":0,\"paddingLeftRight\":10,\"paddingTopBottom\":10},\"questions\":{\"paddingLeftRight\":0,\"paddingTopBottom\":10,\"textColor\":\"#ffffff\",\"textSize\":14,\"textWeight\":\"normal\",\"textAlign\":\"center\"},\"answers\":{\"paddingLeftRight\":0,\"paddingTopBottom\":0,\"textColor\":\"#ffffff\",\"textSize\":14,\"textWeight\":\"normal\",\"skin\":\"minimal\",\"colorScheme\":\"black\"},\"buttons\":{\"backgroundColor\":\"#ffffff\",\"borderSize\":1,\"borderStyle\":\"solid\",\"borderColor\":\"#000000\",\"borderRadius\":0,\"paddingLeftRight\":10,\"paddingTopBottom\":5,\"textColor\":\"#000000\",\"textSize\":14,\"textWeight\":\"normal\",\"align\":\"center\"},\"errors\":{\"borderLeftColorForSuccess\":\"#008000\",\"borderLeftColorForError\":\"#ff0000\",\"borderLeftSize\":10,\"paddingTopBottom\":0,\"textColor\":\"#000000\",\"textSize\":14,\"textWeight\":\"normal\"},\"captcha\":[],\"custom\":{\"css\":\"\"}},\"options\":{\"poll\":{\"voteButtonLabel\":\"&gt;&gt;&gt;\",\"showResultsLink\":\"no\",\"resultsLabelText\":\"Results\",\"showTotalVotes\":\"no\",\"showTotalAnswers\":\"no\",\"startDateOption\":\"now\",\"startDateCustom\":\"\",\"endDateOption\":\"never\",\"endDateCustom\":\"\",\"redirectAfterVote\":\"no\",\"redirectUrl\":\"\",\"redirectAfter\":\"\",\"pageLink\":\"\",\"useCaptcha\":\"no\",\"enableGdpr\":\"no\",\"gdprSolution\":\"ask_consent\",\"gdprConsentText\":\"\",\"loadWithAjax\":\"no\",\"notificationMessageLocation\":\"top\"},\"results\":{\"showResultsMoment\":[\"never\"],\"customDateResults\":\"\",\"showResultsTo\":[],\"resultsDetails\":[\"percentages\"],\"backToVoteOption\":\"no\",\"backToVoteCaption\":\"Back to vote\",\"sortResults\":\"as-defined\",\"sortResultsRule\":\"asc\",\"displayResultsAs\":\"bar\"},\"access\":{\"votePermissions\":[\"wordpress\"]}}}},\"elements\":[{\"id\":\"42\",\"poll_id\":\"42\",\"etext\":\"Choose an option:\",\"etype\":\"question-text\",\"status\":\"active\",\"sorder\":\"1\",\"meta_data\":{\"allowOtherAnswers\":\"no\",\"otherAnswersLabel\":\"Other\",\"addOtherAnswers\":\"no\",\"displayOtherAnswersInResults\":\"no\",\"resultsColorForOtherAnswers\":\"#000000\",\"allowMultipleAnswers\":\"no\",\"multipleAnswersMinim\":\"1\",\"multipleAnswersMaxim\":\"1\",\"answersDisplay\":\"horizontal\",\"answersColumns\":\"\",\"answersSort\":\"as-defined\"},\"subelements\":[{\"id\":\"346\",\"poll_id\":\"42\",\"element_id\":\"42\",\"stext\":\"a\",\"stype\":\"text\",\"status\":\"active\",\"sorder\":\"1\",\"meta_data\":{\"makeDefault\":\"0\",\"makeLink\":\"0\",\"link\":\"\",\"resultsColor\":\"#000000\"}},{\"id\":\"347\",\"poll_id\":\"42\",\"element_id\":\"42\",\"stext\":\"b\",\"stype\":\"text\",\"status\":\"active\",\"sorder\":\"2\",\"meta_data\":{\"makeDefault\":\"0\",\"makeLink\":\"0\",\"link\":\"\",\"resultsColor\":\"#000000\"}},{\"id\":\"348\",\"poll_id\":\"42\",\"element_id\":\"42\",\"stext\":\"c\",\"stype\":\"text\",\"status\":\"active\",\"sorder\":\"3\",\"meta_data\":{\"makeDefault\":\"0\",\"makeLink\":\"0\",\"link\":\"\",\"resultsColor\":\"#000000\"}},{\"id\":\"352\",\"poll_id\":\"42\",\"element_id\":\"42\",\"stext\":\"d\",\"stype\":\"text\",\"status\":\"active\",\"sorder\":\"4\",\"meta_data\":{\"makeDefault\":\"0\",\"makeLink\":\"0\",\"link\":\"\",\"resultsColor\":\"#000000\"}},{\"id\":\"353\",\"poll_id\":\"42\",\"element_id\":\"42\",\"stext\":\"e\",\"stype\":\"text\",\"status\":\"active\",\"sorder\":\"5\",\"meta_data\":{\"makeDefault\":\"0\",\"makeLink\":\"0\",\"link\":\"\",\"resultsColor\":\"#000000\"}},{\"id\":\"355\",\"poll_id\":\"42\",\"element_id\":\"42\",\"stext\":\"f\",\"stype\":\"text\",\"status\":\"active\",\"sorder\":\"6\",\"meta_data\":{\"makeDefault\":\"0\",\"makeLink\":\"0\",\"link\":\"\",\"resultsColor\":\"#000000\"}}]}],\"messages\":{\"captcha\":{\"accessibility-alt\":\"Sound icon\",\"accessibility-title\":\"Accessibility option: listen to a question and answer it!\",\"accessibility-description\":\"Type below the [STRONG]answer[\\\/STRONG] to what you hear. Numbers or words:\",\"explanation\":\"Click or touch the [STRONG]ANSWER[\\\/STRONG]\",\"refresh-alt\":\"Refresh\\\/reload icon\",\"refresh-title\":\"Refresh\\\/reload: get new images and accessibility option!\"},\"buttons\":{\"anonymous\":\"Anonymous Vote\",\"wordpress\":\"Sign in with WordPress\",\"facebook\":\"Sign in with Facebook\",\"google\":\"Sign in with Google\"},\"voting\":{\"poll-ended\":\"This poll is no longer accepting votes\",\"poll-not-started\":\"This poll is not accepting votes yet\",\"already-voted-on-poll\":\"Thank you for your vote\",\"invalid-poll\":\"Invalid Poll\",\"no-answers-selected\":\"No answer selected\",\"min-answers-required\":\"At least {min_answers_allowed} answer(s) required\",\"max-answers-required\":\"A max of {max_answers_allowed} answer(s) accepted\",\"no-answer-for-other\":\"No other answer entered\",\"no-value-for-custom-field\":\"{custom_field_name} is required\",\"consent-not-checked\":\"You must agree to our terms and conditions\",\"no-captcha-selected\":\"Captcha is required\",\"not-allowed-by-ban\":\"Vote not allowed\",\"not-allowed-by-block\":\"Vote not allowed\",\"not-allowed-by-limit\":\"Vote not allowed\",\"thank-you\":\"Thank you for your vote\",\"too-many-chars-for-custom-field\":\"Text for {custom_field_name} is too long\"},\"results\":{\"single-vote\":\"vote\",\"multiple-votes\":\"votes\",\"single-answer\":\"answer\",\"multiple-answers\":\"answers\"}},\"date_format\":\"F j, Y\",\"nonce\":\"c7e7ca0694\",\"page_id\":0,\"tracking_id\":\"https:\\\/\\\/control-advent.com\"}<\/script><\/div>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Related control topic: root locus curve<\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>The elves are out for a fun skating adventure! The ice rink is partly a frozen lake on the right side and partly an over-frozen meadow on the left side of the plot. (The border between the two areas is &hellip; <span class=\"more-link\"><a href=\"https:\/\/control-advent.com\/?p=1487\" class=\"readmore\">Continue reading<span class=\"screen-reader-text\">05 &#8211; How many cookies should the elves eat to stay safe on the ice?<\/span><\/a><\/span><\/p>\n","protected":false},"author":1,"featured_media":1489,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[22],"tags":[111],"class_list":["post-1487","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-english","tag-2025-en"],"_links":{"self":[{"href":"https:\/\/control-advent.com\/index.php?rest_route=\/wp\/v2\/posts\/1487","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/control-advent.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/control-advent.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/control-advent.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/control-advent.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1487"}],"version-history":[{"count":2,"href":"https:\/\/control-advent.com\/index.php?rest_route=\/wp\/v2\/posts\/1487\/revisions"}],"predecessor-version":[{"id":1493,"href":"https:\/\/control-advent.com\/index.php?rest_route=\/wp\/v2\/posts\/1487\/revisions\/1493"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/control-advent.com\/index.php?rest_route=\/wp\/v2\/media\/1489"}],"wp:attachment":[{"href":"https:\/\/control-advent.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1487"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/control-advent.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1487"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/control-advent.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1487"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}