{"id":9526,"date":"2024-10-16T16:14:20","date_gmt":"2024-10-16T07:14:20","guid":{"rendered":"https:\/\/www.auctionpro.co.kr\/?p=9526"},"modified":"2024-10-16T16:16:14","modified_gmt":"2024-10-16T07:16:14","slug":"%eb%8f%84%eb%b0%95%ea%b3%bc-%ec%88%98%ed%95%99","status":"publish","type":"post","link":"https:\/\/www.auctionpro.co.kr\/?p=9526","title":{"rendered":"\ub3c4\ubc15\uacfc \uc218\ud559"},"content":{"rendered":"\n<figure class=\"wp-block-image size-medium\"><a href=\"https:\/\/www.auctionpro.co.kr\/wp-content\/uploads\/2024\/10\/image-12.png\"><img loading=\"lazy\" decoding=\"async\" width=\"300\" height=\"241\" src=\"https:\/\/www.auctionpro.co.kr\/wp-content\/uploads\/2024\/10\/image-12-300x241.png\" alt=\"\" class=\"wp-image-9529\" srcset=\"https:\/\/www.auctionpro.co.kr\/wp-content\/uploads\/2024\/10\/image-12-300x241.png 300w, https:\/\/www.auctionpro.co.kr\/wp-content\/uploads\/2024\/10\/image-12-768x617.png 768w, https:\/\/www.auctionpro.co.kr\/wp-content\/uploads\/2024\/10\/image-12.png 772w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">\ub3c4\ubc15\ud68c\uc0ac \uc2b9\ub96051.0%, \uac1c\uc778 \uc2b9\ub960 49.0% \uc774\uba74 1000 \uac8c\uc784 \uc9c4\ud589\uc2dc \uac1c\uc778\uc774 1\uc5b5 \uc73c\ub85c 1\ubc31\ub9cc\uc6d0\uc529 \ubc30\ud305 \ud558\uba74 \uacb0\uacfc\ub294 ?<\/p>\n\n\n\n<div class=\"wp-block-urvanov-syntax-highlighter-code-block\"><pre class=\"lang:python decode:true \"># The scenario involves a person betting 1 million KRW per game with a 49.9% probability of winning,\n# and we want to simulate the outcome over 1000 games. Let's calculate the likely outcome over these games.\n\nimport numpy as np\n\n# Initial variables\ninitial_capital = 100000000  # Starting with 100 million KRW\nbet_amount = 1000000  # Betting 1 million KRW per game\nwin_probability = 0.49  # 49.0% chance of winning\nnum_games = 1000  # Number of games to simulate\n\n# Function to simulate the betting outcome\ndef simulate_betting(capital, bet, win_prob, games):\n    for game in range(games):\n        if np.random.rand() &lt; win_prob:\n            capital += bet  # Win case: increase capital by bet amount\n        else:\n            capital -= bet  # Loss case: decrease capital by bet amount\n        if capital &lt;= 0:  # Stop if capital is lost\n            break\n    return capital\n\n# Run the simulation\nfinal_capital = simulate_betting(initial_capital, bet_amount, win_probability, num_games)\nprint(final_capital)<\/pre><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">\uacb0\uacfc<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">90000000<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">10\ub9cc\uc6d0 \ubd80\ud130 1000\ub9cc\uc6d0 \uae4c\uc9c0\uc758 \ubc30\ud305\uc2dc \uacb0\uacfc\ub97c \uadf8\ub798\ud504\ub85c<\/h2>\n\n\n\n<div class=\"wp-block-urvanov-syntax-highlighter-code-block\"><pre class=\"lang:python decode:true \"># Re-importing necessary packages and re-running the code to simulate results\n\nimport numpy as np\nimport matplotlib.pyplot as plt\n\n# Initial variables\ninitial_capital = 100000000  # Starting with 100 million KRW\nwin_probability_new = 0.49  # 49% chance of winning\nnum_games = 1000  # Number of games to simulate\n\n# Function to simulate the betting outcome\ndef simulate_betting(capital, bet, win_prob, games):\n    for game in range(games):\n        if np.random.rand() &lt; win_prob:\n            capital += bet  # Win case: increase capital by bet amount\n        else:\n            capital -= bet  # Loss case: decrease capital by bet amount\n        if capital &lt;= 0:  # Stop if capital is lost\n            break\n    return capital\n\n# Simulating different bet amounts from 100,000 to 10,000,000 KRW\nbet_amounts = np.arange(100000, 10000001, 100000)  # From 100,000 to 10,000,000 in steps of 100,000\nfinal_capitals = []\n\n# Simulate for each bet amount and store the final capital after 1000 games\nfor bet in bet_amounts:\n    final_capital = simulate_betting(initial_capital, bet, win_probability_new, num_games)\n    final_capitals.append(final_capital)\n\n# Plotting the results\nplt.figure(figsize=(10, 6))\nplt.plot(bet_amounts, final_capitals, marker='o')\nplt.title(\"Final Capital After 1000 Games with Different Bet Sizes\")\nplt.xlabel(\"Bet Amount (KRW)\")\nplt.ylabel(\"Final Capital (KRW)\")\nplt.grid(True)\nplt.show()\n<\/pre><\/div>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/www.auctionpro.co.kr\/wp-content\/uploads\/2024\/10\/image-11.png\"><img loading=\"lazy\" decoding=\"async\" width=\"986\" height=\"621\" src=\"https:\/\/www.auctionpro.co.kr\/wp-content\/uploads\/2024\/10\/image-11.png\" alt=\"\" class=\"wp-image-9527\" srcset=\"https:\/\/www.auctionpro.co.kr\/wp-content\/uploads\/2024\/10\/image-11.png 986w, https:\/\/www.auctionpro.co.kr\/wp-content\/uploads\/2024\/10\/image-11-300x189.png 300w, https:\/\/www.auctionpro.co.kr\/wp-content\/uploads\/2024\/10\/image-11-768x484.png 768w\" sizes=\"auto, (max-width: 986px) 100vw, 986px\" \/><\/a><\/figure>\n","protected":false},"excerpt":{"rendered":"<div class=\"mh-excerpt\"><p>\ub3c4\ubc15\ud68c\uc0ac \uc2b9\ub96051.0%, \uac1c\uc778 \uc2b9\ub960 49.0% \uc774\uba74 1000 \uac8c\uc784 \uc9c4\ud589\uc2dc \uac1c\uc778\uc774 1\uc5b5 \uc73c\ub85c 1\ubc31\ub9cc\uc6d0\uc529 \ubc30\ud305 \ud558\uba74 \uacb0\uacfc\ub294 ? \uacb0\uacfc 90000000 10\ub9cc\uc6d0 \ubd80\ud130 1000\ub9cc\uc6d0 \uae4c\uc9c0\uc758 \ubc30\ud305\uc2dc \uacb0\uacfc\ub97c <a class=\"mh-excerpt-more\" href=\"https:\/\/www.auctionpro.co.kr\/?p=9526\" title=\"\ub3c4\ubc15\uacfc \uc218\ud559\">[&#8230;]<\/a><\/p>\n<\/div>","protected":false},"author":6,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[3],"tags":[],"class_list":["post-9526","post","type-post","status-publish","format-standard","hentry","category-auctonpro-is"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.auctionpro.co.kr\/index.php?rest_route=\/wp\/v2\/posts\/9526","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.auctionpro.co.kr\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.auctionpro.co.kr\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.auctionpro.co.kr\/index.php?rest_route=\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/www.auctionpro.co.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=9526"}],"version-history":[{"count":0,"href":"https:\/\/www.auctionpro.co.kr\/index.php?rest_route=\/wp\/v2\/posts\/9526\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.auctionpro.co.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=9526"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.auctionpro.co.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=9526"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.auctionpro.co.kr\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=9526"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}