{"id":16127,"date":"2022-01-31T02:41:27","date_gmt":"2022-01-31T02:41:27","guid":{"rendered":"https:\/\/club.informatix.co.jp\/?p=16127"},"modified":"2024-10-31T05:33:31","modified_gmt":"2024-10-31T05:33:31","slug":"python%e3%81%a7%e3%82%a2%e3%83%ab%e3%82%ad%e3%83%a1%e3%83%87%e3%82%b9%e3%81%ae%cf%80%ef%bd%9cpython%e3%81%a7%e6%95%b0%e5%ad%a6%e3%82%92%e5%ad%a6%e3%81%bc%e3%81%86%ef%bc%81%e3%80%80%e7%ac%ac17%e5%9b%9e","status":"publish","type":"post","link":"https:\/\/club.informatix.co.jp\/?p=16127","title":{"rendered":"Python\u3067\u30a2\u30eb\u30ad\u30e1\u30c7\u30b9\u306e\u03c0\uff5cPython\u3067\u6570\u5b66\u3092\u5b66\u307c\u3046\uff01 \u7b2c17\u56de"},"content":{"rendered":"<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_83 counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">\u76ee\u6b21<\/p>\n<label for=\"ez-toc-cssicon-toggle-item-6a142b206f2c2\" class=\"ez-toc-cssicon-toggle-label\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/label><input type=\"checkbox\"  id=\"ez-toc-cssicon-toggle-item-6a142b206f2c2\" checked aria-label=\"Toggle\" \/><nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/club.informatix.co.jp\/?p=16127\/#%E3%81%AF%E3%81%98%E3%82%81%E3%81%AB%EF%BD%9C%E3%83%AC%E3%83%9D%E3%83%BC%E3%83%88\" >\u306f\u3058\u3081\u306b\uff5c\u30ec\u30dd\u30fc\u30c8<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/club.informatix.co.jp\/?p=16127\/#4000%E5%B9%B4%E5%89%8D%E3%81%AE%E5%86%86%E5%91%A8%E7%8E%87%E3%81%AF31\" >4000\u5e74\u524d\u306e\u5186\u5468\u7387\u306f3.1<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/club.informatix.co.jp\/?p=16127\/#%E9%9B%A3%E3%81%97%E3%81%84%E3%80%8C%CF%80%E3%81%8C314%E3%80%8D\" >\u96e3\u3057\u3044\u300c\u03c0\u304c3.14\u300d<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/club.informatix.co.jp\/?p=16127\/#%E3%82%A2%E3%83%AB%E3%82%AD%E3%83%A1%E3%83%87%E3%82%B9%E3%81%AE%E3%82%A2%E3%83%AB%E3%82%B4%E3%83%AA%E3%82%BA%E3%83%A0\" >\u30a2\u30eb\u30ad\u30e1\u30c7\u30b9\u306e\u30a2\u30eb\u30b4\u30ea\u30ba\u30e0<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/club.informatix.co.jp\/?p=16127\/#%E3%83%97%E3%83%AD%E3%82%B0%E3%83%A9%E3%83%A0%E3%80%8Carch1py%E3%80%8D\" >\u30d7\u30ed\u30b0\u30e9\u30e0\u300carch1.py\u300d<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/club.informatix.co.jp\/?p=16127\/#%E5%AE%9F%E8%A1%8C%E7%B5%90%E6%9E%9C\" >\u5b9f\u884c\u7d50\u679c<\/a><\/li><\/ul><\/li><\/ul><\/nav><\/div>\n<h2><span class=\"ez-toc-section\" id=\"%E3%81%AF%E3%81%98%E3%82%81%E3%81%AB%EF%BD%9C%E3%83%AC%E3%83%9D%E3%83%BC%E3%83%88\"><\/span>\u306f\u3058\u3081\u306b\uff5c\u30ec\u30dd\u30fc\u30c8<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p><img decoding=\"async\" class=\"aligncenter size-full wp-image-16134\" src=\"https:\/\/club.informatix.co.jp\/wp-content\/uploads\/2022\/01\/20220131-1.jpg\" alt=\"\" width=\"800\" height=\"500\" srcset=\"https:\/\/club.informatix.co.jp\/wp-content\/uploads\/2022\/01\/20220131-1.jpg 800w, https:\/\/club.informatix.co.jp\/wp-content\/uploads\/2022\/01\/20220131-1-300x188.jpg 300w, https:\/\/club.informatix.co.jp\/wp-content\/uploads\/2022\/01\/20220131-1-768x480.jpg 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/p>\n<p>\u79c1\u304c\u6bce\u6708\u958b\u50ac\u3057\u3066\u3044\u308b\u685c\u4e95\u9032\u306e\u7b97\u6570\u30fb\u6570\u5b66\u6559\u5ba4\uff08Zoom\u30aa\u30f3\u30e9\u30a4\u30f3\u30bb\u30df\u30ca\u30fc\uff09\u3067\u3059\u304c\u30011\/16\uff08\u65e5\uff09\u685c\u4e95\u9032\u306ePython\u30fbUNIX\u30fbMath\u6559\u5ba4\u306e\u30c6\u30fc\u30de\u306f\u300cPython\u3067\u03c0\u3001\u30a2\u30eb\u30ad\u30e1\u30c7\u30b9\u306e\u30a2\u30eb\u30b4\u30ea\u30ba\u30e0\u300d\u3067\u3057\u305f\u3002<\/p>\n\n<h2><span class=\"ez-toc-section\" id=\"4000%E5%B9%B4%E5%89%8D%E3%81%AE%E5%86%86%E5%91%A8%E7%8E%87%E3%81%AF31\"><\/span>4000\u5e74\u524d\u306e\u5186\u5468\u7387\u306f3.1<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>\u7d00\u5143\u524d\u4e8c\u5343\u5e74\u3001\u53e4\u4ee3\u30d0\u30d3\u30ed\u30cb\u30a2\u3067\u306f\u5186\u5468\u7387\uff08\u03c0\uff09\u306f3.125\u3001\u53e4\u4ee3\u30a8\u30b8\u30d7\u30c8\u306e\u300e\u30ea\u30f3\u30c9\u306e\u30d1\u30d4\u30eb\u30b9\u300f\u306b\u306f\u3001\u5186\u306e\u9762\u7a4d\u306b\u3064\u3044\u3066\u300c\u76f4\u5f84\u304b\u3089\u305d\u306e1\/9\u3092\u6e1b\u3058\u305f\u9577\u3055\u306e2\u4e57\u300d\u3068\u66f8\u304b\u308c\u3066\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u5186\u306e\u534a\u5f84\u3092r\u3068\u3059\u308c\u3070\u3001(2r-2r\u00d71\/9)<sup>2<\/sup>=256\/81\u00d7r<sup>2<\/sup>\u3068\u3044\u3046\u3053\u3068\u3067\u3059\u3002\u5186\u306e\u9762\u7a4d\u306f\u03c0r<sup>2<\/sup>\u3067\u3059\u304b\u3089\u5186\u5468\u7387\u03c0\u306f256\/81=3.16049\u2026\u3068\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u3064\u307e\u308a\u3069\u3061\u3089\u3082\u03c0\u306e\u771f\u5024\uff083.14159265\u2026\uff09\u306b\u5bfe\u3057\u3066\u6b63\u3057\u3044\u6841\u6570\u306f2\u6841\uff083.1\uff09\u3067\u3059\u3002<\/p>\n<p>1\/16\uff08\u65e5\uff09\u306e\u6559\u5ba4\u3067\u306f\u5186\u5468\u3068\u76f4\u5f84\u306e\u5b9f\u6e2c\u306b\u3088\u308b\u6bd4\u306e\u7b97\u51fa\u3092\u884c\u3063\u3066\u307f\u307e\u3057\u305f\u3002\u306f\u305f\u3057\u3066\u53c2\u52a0\u8005\u306e\u8ab0\u30823.1\u3092\u306f\u3058\u304d\u51fa\u3059\u3053\u3068\u304c\u3067\u304d\u307e\u305b\u3093\u3067\u3057\u305f\u3002<\/p>\n<p>\u03c0\u304c\u7d043\u3067\u3042\u308b\u3053\u3068\u306f\u76ee\u5206\u91cf\u3067\u3082\u5206\u304b\u308a\u307e\u3059\uff08\u76f4\u5f84\u3068\u5186\u5468\u3092\u76ee\u8996\u3067\u6bd4\u3079\u308b\u3060\u3051\uff09\u304c\u3001\u6b21\u306e3.1\u304b\u3089\u3068\u305f\u3093\u306b\u96e3\u3057\u304f\u306a\u308b\u3068\u3044\u3046\u3053\u3068\u3067\u3059\u3002<\/p>\n<h2><span class=\"ez-toc-section\" id=\"%E9%9B%A3%E3%81%97%E3%81%84%E3%80%8C%CF%80%E3%81%8C314%E3%80%8D\"><\/span>\u96e3\u3057\u3044\u300c\u03c0\u304c3.14\u300d<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>\u7d00\u5143\u524d\u4e09\u767e\u5e74\u3001\u53e4\u4ee3\u30ae\u30ea\u30b7\u30e3\u306e\u30a2\u30eb\u30ad\u30e1\u30c7\u30b9\u306f\u3064\u3044\u306b\u3053\u306e\u58c1\u3092\u4e57\u308a\u8d8a\u3048\u307e\u3059\u3002\u5186\u3092\u591a\u89d2\u5f62\u3067\u8fd1\u4f3c\u3059\u308b\u3053\u3068\u3067\u3001\u591a\u89d2\u5f62\u306e\u5468\u9577\u3092\u03c0\u306e\u8fd1\u4f3c\u5024\u3068\u3059\u308b\u30a2\u30a4\u30c7\u30a3\u30a2\u3067\u3059\u3002<\/p>\n<p>\u30a2\u30eb\u30ad\u30e1\u30c7\u30b9\u306f\u6b636\u89d2\u5f62\u304b\u3089\u306f\u3058\u3081\u3066\u3001\u6b6312\u89d2\u5f62\u3001\u6b6324\u89d2\u5f62\u3068\u89d2\u6570\u30922\u500d\u3057\u3066\u3044\u304d\u3001\u5185\u63a5\u6b6396\u89d2\u5f62\u304a\u3088\u3073\u5916\u63a5\u6b6396\u89d2\u5f62\u306e\u5468\u9577\u304b\u3089\u03c0\u304c3.14\u2026\u3067\u3042\u308b\u7d50\u8ad6\u3092\u5f97\u307e\u3057\u305f\u3002<\/p>\n<p><img decoding=\"async\" class=\"aligncenter size-full wp-image-16135\" src=\"https:\/\/club.informatix.co.jp\/wp-content\/uploads\/2022\/01\/20220131-2.jpg\" alt=\"\" width=\"800\" height=\"500\" srcset=\"https:\/\/club.informatix.co.jp\/wp-content\/uploads\/2022\/01\/20220131-2.jpg 800w, https:\/\/club.informatix.co.jp\/wp-content\/uploads\/2022\/01\/20220131-2-300x188.jpg 300w, https:\/\/club.informatix.co.jp\/wp-content\/uploads\/2022\/01\/20220131-2-768x480.jpg 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/p>\n<p>\u53e4\u4ee3\u30d0\u30d3\u30ed\u30cb\u30a2\u30fb\u53e4\u4ee3\u30a8\u30b8\u30d7\u30c8\u306e3.1\u304b\u3089\u30a2\u30eb\u30ad\u30e1\u30c7\u30b9\u304c3.14\u3092\u5f97\u308b\u307e\u3067\u306b1700\u5e74\u304b\u304b\u3063\u305f\u3053\u3068\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u308f\u304c\u56fd\u3067\u306f\u7b97\u6570\u3067\u03c0\u304c3.14\u3067\u3042\u308b\u3053\u3068\u3092\u7fd2\u3044\u307e\u3059\u3002\u3057\u304b\u3057\u3001\u4e2d\u5b66\u30fb\u9ad8\u6821\u3067\u03c0\u306b\u3064\u3044\u3066\u306e\u60c5\u5831\u306f\u307b\u3068\u3093\u3069\u66f4\u65b0\u3055\u308c\u307e\u305b\u3093\u3002<\/p>\n<p>\u5927\u5b66\u5165\u8a66\u306e\u6570\u5b66\u3067\u300c\u03c0\u304c3.14\u2026\u3067\u3042\u308b\u3053\u3068\u3092\u8a3c\u660e\u305b\u3088\u300d\u3068\u3044\u3046\u554f\u984c\u306f\u51fa\u984c\u3055\u308c\u305f\u3053\u3068\u304c\u3042\u308a\u307e\u305b\u3093\u3002<\/p>\n<p>2003\u5e74\u306e\u6771\u4eac\u5927\u5b66\u306e\u5165\u8a66\u554f\u984c\u3067\u306f\u300c\u03c0\u304c3.05\u3088\u308a\u5927\u304d\u3044\u3053\u3068\u3092\u8a3c\u660e\u305b\u3088\u300d\u3068\u3044\u3046\u4e2d\u9014\u534a\u7aef\u306a\u554f\u984c\u304c\u51fa\u984c\u3055\u308c\u3066\u3044\u308b\u3053\u3068\u304b\u3089\u3082\u300c\u03c0\u304c3.14\u300d\u306f\u96e3\u3057\u3044\u3053\u3068\u304c\u308f\u304b\u308a\u307e\u3059\u3002<\/p>\n<p>\u3061\u306a\u307f\u306b\u3053\u306e\u554f\u984c\u306f\u6b638\u89d2\u5f62\u306e\u5468\u9577\u304b\u3089\u89e3\u304f\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<h2><span class=\"ez-toc-section\" id=\"%E3%82%A2%E3%83%AB%E3%82%AD%E3%83%A1%E3%83%87%E3%82%B9%E3%81%AE%E3%82%A2%E3%83%AB%E3%82%B4%E3%83%AA%E3%82%BA%E3%83%A0\"><\/span>\u30a2\u30eb\u30ad\u30e1\u30c7\u30b9\u306e\u30a2\u30eb\u30b4\u30ea\u30ba\u30e0<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>\u30a2\u30eb\u30ad\u30e1\u30c7\u30b9\u306f\u6b636\u89d2\u5f62\u306e\u5468\u9577\u3068\u6b6312\u89d2\u5f62\u306e\u5468\u9577\u306e\u9593\u306b\u3042\u308b\u8208\u5473\u6df1\u3044\u95a2\u4fc2\u3092\u767a\u898b\u3057\u307e\u3057\u305f\u3002<\/p>\n<p>\u305d\u308c\u306f\u6b6312\u89d2\u5f62\u306e\u5468\u9577\u3068\u6b6324\u89d2\u5f62\u306e\u5468\u9577\u3001\u6b6324\u89d2\u5f62\u306e\u5468\u9577\u3068\u6b6348\u89d2\u5f62\u306e\u5468\u9577\u3001\u305d\u3057\u3066\u6b6348\u89d2\u5f62\u306e\u5468\u9577\u3068\u6b6396\u89d2\u5f62\u306e\u5468\u9577\u306e\u9593\u306b\u3082\u6210\u308a\u7acb\u3064\u3082\u306e\u3067\u3057\u305f\u3002<\/p>\n<p>\u305d\u306e\u95a2\u4fc2\u3092\u8868\u3059\u306e\u306b\u4fbf\u5229\u306a\u6570\u5b66\u304c\u6570\u5217\u3068\u6f38\u5316\u5f0f\u3067\u3059\u3002\u6b21\u306e\u56f3\u306e\u3088\u3046\u306b\u6570\u5217a\u3068b\u3092\u5b9a\u7fa9\u3057\u307e\u3059\u3002<\/p>\n<p><img decoding=\"async\" class=\"aligncenter size-full wp-image-16136\" src=\"https:\/\/club.informatix.co.jp\/wp-content\/uploads\/2022\/01\/20220131-3.jpg\" alt=\"\" width=\"800\" height=\"500\" srcset=\"https:\/\/club.informatix.co.jp\/wp-content\/uploads\/2022\/01\/20220131-3.jpg 800w, https:\/\/club.informatix.co.jp\/wp-content\/uploads\/2022\/01\/20220131-3-300x188.jpg 300w, https:\/\/club.informatix.co.jp\/wp-content\/uploads\/2022\/01\/20220131-3-768x480.jpg 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/p>\n<p>\u6570\u5217\u306e\u30ca\u30f3\u30d0\u30ea\u30f3\u30b0\u306fPython\u306e\u30bc\u30ed\u30b9\u30bf\u30fc\u30c8\u306e\u30eb\u30fc\u30eb\u306b\u5f93\u3063\u3066\u3001\u30bc\u30ed\u30b9\u30bf\u30fc\u30c8\u306b\u3057\u307e\u3059\u3002<\/p>\n<p>\u30b9\u30c6\u30c3\u30d7\u6570\u3092N\u3068\u3057\u3066N=0\u30011\u30012\u30013\u30014\u3068\u8a08\u7b97\u3059\u308b\u3053\u3068\u3067\u30a2\u30eb\u30ad\u30e1\u30c7\u30b9\u304c\u884c\u3063\u305f\u30b9\u30c6\u30c3\u30d7\u3092\u518d\u73fe\u3067\u304d\u307e\u3059\u3002<\/p>\n<h3><span class=\"ez-toc-section\" id=\"%E3%83%97%E3%83%AD%E3%82%B0%E3%83%A9%E3%83%A0%E3%80%8Carch1py%E3%80%8D\"><\/span>\u30d7\u30ed\u30b0\u30e9\u30e0\u300carch1.py\u300d<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>&gt;&gt; # arch1.py<br \/>\n&gt;&gt; import numpy<br \/>\n&gt;&gt;<br \/>\n&gt;&gt; def arch(N):<br \/>\n&gt;&gt;\u00a0 \u00a0 a = numpy.empty(N+1)<br \/>\n&gt;&gt;\u00a0 \u00a0 b = numpy.empty(N+1)<br \/>\n&gt;&gt;\u00a0 \u00a0 a[0] = 2*numpy.sqrt(3)<br \/>\n&gt;&gt;\u00a0 \u00a0 b[0] = 3<br \/>\n&gt;&gt;\u00a0 \u00a0 for n in range(0, N):<br \/>\n&gt;&gt;\u00a0 \u00a0 \u00a0 \u00a0a[n+1] = (2*a[n]*b[n])\/(a[n]+b[n])<br \/>\n&gt;&gt;\u00a0 \u00a0 \u00a0 \u00a0b[n+1] = numpy.sqrt(a[n+1]*b[n])<br \/>\n&gt;&gt;\u00a0 \u00a0 \u00a0print(&#8216;\\nN=&#8217; + str(N) + &#8216; \u6b63&#8217; + str(6*2**N) + &#8216;\u89d2\u5f62&#8217;)<br \/>\n&gt;&gt;\u00a0 \u00a0 \u00a0print(str(b[N]) + &#8216; &lt; \u03c0 &lt; &#8216; + str(a[N]))<br \/>\n&gt;&gt;<br \/>\n&gt;&gt; for N in range(5):<br \/>\n&gt;&gt;\u00a0 \u00a0 arch(N)<\/p>\n<p>\u3053\u306e\u30d7\u30ed\u30b0\u30e9\u30e0\u30d5\u30a1\u30a4\u30eb\u306f\u6b21\u304b\u3089\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3067\u304d\u307e\u3059<br \/>\n<a href=\"https:\/\/drive.google.com\/file\/d\/1yOGYplXi3ZClP1ob07hQuk8YqprdSjGh\/view?usp=sharing\" target=\"_blank\" rel=\"noopener\">https:\/\/drive.google.com\/file\/d\/1yOGYplXi3ZClP1ob07hQuk8YqprdSjGh\/view?usp=sharing<\/a><\/p>\n<p><img decoding=\"async\" class=\"aligncenter size-full wp-image-16131\" src=\"https:\/\/club.informatix.co.jp\/wp-content\/uploads\/2022\/01\/20220131-4.jpg\" alt=\"\" width=\"800\" height=\"500\" srcset=\"https:\/\/club.informatix.co.jp\/wp-content\/uploads\/2022\/01\/20220131-4.jpg 800w, https:\/\/club.informatix.co.jp\/wp-content\/uploads\/2022\/01\/20220131-4-300x188.jpg 300w, https:\/\/club.informatix.co.jp\/wp-content\/uploads\/2022\/01\/20220131-4-768x480.jpg 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/p>\n<p>\u30b3\u30fc\u30c7\u30a3\u30f3\u30b0\u3067\u6ce8\u610f\u3059\u3079\u304d\u70b9\u306f\u3001\u6570\u5217a\u3068b\u306e\u5b9a\u7fa9\u306e\u9806\u5e8f\u3067\u3059\u3002a\u3001b\u306e\u9806\u306b\u5b9a\u7fa9\u3057\u307e\u3059\u3002b<sub>n+1<\/sub>\u306f\u5148\u306b\u8a08\u7b97\u3057\u305fa<sub>n+1<\/sub>\u3092\u5fc5\u8981\u3068\u3059\u308b\u304b\u3089\u3067\u3059\u3002<\/p>\n<p>\u30b3\u30fc\u30c9\u3092\u898b\u3066\u308f\u304b\u308b\u3088\u3046\u306b2\u3064\u306e\u6f38\u5316\u5f0f\u306f\u6570\u5f0f\u305d\u306e\u307e\u307ePython\u30b3\u30fc\u30c9\u306b\u7ffb\u8a33\u3067\u304d\u307e\u3059\u3002<\/p>\n<h3><span class=\"ez-toc-section\" id=\"%E5%AE%9F%E8%A1%8C%E7%B5%90%E6%9E%9C\"><\/span>\u5b9f\u884c\u7d50\u679c<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>\u6b21\u304c\u5b9f\u884c\u7d50\u679c\u3067\u3059\u3002N=4\uff08\u6b6396\u89d2\u5f62\uff09\u3067\u03c0=3.14\u2026\u3067\u3042\u308b\u3053\u3068\u304c\u78ba\u8a8d\u3067\u304d\u307e\u3059\u3002<\/p>\n<p><img decoding=\"async\" class=\"aligncenter size-full wp-image-16132\" src=\"https:\/\/club.informatix.co.jp\/wp-content\/uploads\/2022\/01\/20220131-5.jpg\" alt=\"\" width=\"488\" height=\"375\" srcset=\"https:\/\/club.informatix.co.jp\/wp-content\/uploads\/2022\/01\/20220131-5.jpg 488w, https:\/\/club.informatix.co.jp\/wp-content\/uploads\/2022\/01\/20220131-5-300x231.jpg 300w\" sizes=\"(max-width: 488px) 100vw, 488px\" \/><\/p>\n<p>\u3082\u3061\u308d\u3093N\u306e\u5024\u3092\u5927\u304d\u304f\u3059\u308c\u3070\u3001\u3055\u3089\u306b\u03c0\u306e\u6b63\u3057\u3044\u6841\u6570\u3082\u5927\u304d\u304f\u306a\u308a\u307e\u3059\u3002N=167\u3068\u3059\u308c\u3070\u3001\u6b63\u3057\u3044100\u6841\u304c\u5f97\u3089\u308c\u308b\u3053\u3068\u304c\u5206\u304b\u308a\u307e\u3059\u3002<\/p>\n<p>\u305d\u308c\u306b\u3057\u3066\u3082\u30012300\u5e74\u524d\u306e\u30a2\u30eb\u30ad\u30e1\u30c7\u30b9\u306e\u6570\u5b66\u304c\u4eca\u306a\u304a\u71e6\u7136\u3068\u96fb\u5b50\u8a08\u7b97\u6a5f\u306e\u4e2d\u3067\u8f1d\u304f\u3053\u3068\u306b\u9a5a\u304b\u3055\u308c\u307e\u3059\u3002<\/p>\n<p>\u56db\u5343\u5e74\u524d\u306e\u53e4\u4ee3\u30d0\u30d3\u30ed\u30cb\u30a2\u30fb\u53e4\u4ee3\u30a8\u30b8\u30d7\u30c8\u3068\u30a2\u30eb\u30ad\u30e1\u30c7\u30b9\u3068\u3067\u306f\u3001\u3044\u3063\u305f\u3044\u4f55\u304c\u9055\u3046\u306e\u304b\u3002<\/p>\n<p>\u30a2\u30eb\u30ad\u30e1\u30c7\u30b9\u3053\u305d\u3001\u73fe\u4ee3\u306b\u7d9a\u304f\u6570\u5b66\u306e\u790e\u3092\u3064\u304f\u3063\u305f\u5f35\u672c\u4eba\u3067\u3059\u3002\u5b9f\u969b\u306b\u7d19\u306b\u63cf\u304f\u3053\u3068\u304c\u3067\u304d\u306a\u3044\u6b6396\u89d2\u5f62\u3092\u30a2\u30eb\u30ad\u30e1\u30c7\u30b9\u306f\u81ea\u5206\u306e\u982d\u306e\u4e2d\u306b\u63cf\u304f\u3053\u3068\u3092\u601d\u3044\u3064\u3044\u305f\u306e\u3067\u3059\u3002<\/p>\n<p>\u3053\u308c\u3053\u305d\u304c\u6570\u5b66\u3067\u3059\u3002<\/p>\n<p>\u03c0\u3001<a href=\"https:\/\/club.informatix.co.jp\/?p=4770\" target=\"_blank\" rel=\"noopener\">\u5fae\u5206\u6cd5\u3001\u7a4d\u5206\u65b9<\/a>\u3001\u81ea\u52d5\u8a08\u7b97\u6a5f\u3001\u5929\u6587\u5b66\u3001\u529b\u5b66\u3001\u5f7c\u306e\u5049\u696d\u306f\u8a9e\u308b\u3053\u3068\u3055\u3048\u5bb9\u6613\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002<\/p>\n<p>\u30d5\u30a3\u30fc\u30eb\u30ba\u30e1\u30c0\u30eb\u306e\u4e2d\u306e\u30a2\u30eb\u30ad\u30e1\u30c7\u30b9\u306f\u73fe\u4ee3\u306e\u79c1\u305f\u3061\u306b\u8a00\u3063\u3066\u3044\u308b\u3088\u3046\u3067\u3059\u3002\u300c\u79c1\u306e\u8a00\u3063\u305f\u3068\u304a\u308a\u3060\u308d\u3046\u300d\u3068\u3002<\/p>\n<p><img decoding=\"async\" class=\"aligncenter size-full wp-image-16133\" src=\"https:\/\/club.informatix.co.jp\/wp-content\/uploads\/2022\/01\/20220131-6.jpg\" alt=\"\" width=\"800\" height=\"500\" srcset=\"https:\/\/club.informatix.co.jp\/wp-content\/uploads\/2022\/01\/20220131-6.jpg 800w, https:\/\/club.informatix.co.jp\/wp-content\/uploads\/2022\/01\/20220131-6-300x188.jpg 300w, https:\/\/club.informatix.co.jp\/wp-content\/uploads\/2022\/01\/20220131-6-768x480.jpg 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u306f\u3058\u3081\u306b\uff5c\u30ec\u30dd\u30fc\u30c8 \u79c1\u304c\u6bce\u6708\u958b\u50ac\u3057\u3066\u3044\u308b\u685c\u4e95\u9032\u306e\u7b97\u6570\u30fb\u6570\u5b66\u6559\u5ba4\uff08Zoom\u30aa\u30f3\u30e9\u30a4\u30f3\u30bb\u30df\u30ca\u30fc\uff09\u3067\u3059\u304c\u30011\/16\uff08\u65e5\uff09\u685c\u4e95\u9032\u306ePython\u30fbUNIX\u30fbMath\u6559\u5ba4\u306e\u30c6\u30fc\u30de\u306f\u300cPython\u3067\u03c0\u3001\u30a2\u30eb\u30ad\u30e1\u30c7\u30b9 &#8230; <\/p>\n","protected":false},"author":4,"featured_media":16136,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,464,526],"tags":[65,735],"class_list":["post-16127","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-4","category-hito-star-mathmatics","category-526","tag-python","tag-735"],"jetpack_featured_media_url":"https:\/\/club.informatix.co.jp\/wp-content\/uploads\/2022\/01\/20220131-3.jpg","_links":{"self":[{"href":"https:\/\/club.informatix.co.jp\/index.php?rest_route=\/wp\/v2\/posts\/16127","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/club.informatix.co.jp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/club.informatix.co.jp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/club.informatix.co.jp\/index.php?rest_route=\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/club.informatix.co.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=16127"}],"version-history":[{"count":11,"href":"https:\/\/club.informatix.co.jp\/index.php?rest_route=\/wp\/v2\/posts\/16127\/revisions"}],"predecessor-version":[{"id":20743,"href":"https:\/\/club.informatix.co.jp\/index.php?rest_route=\/wp\/v2\/posts\/16127\/revisions\/20743"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/club.informatix.co.jp\/index.php?rest_route=\/wp\/v2\/media\/16136"}],"wp:attachment":[{"href":"https:\/\/club.informatix.co.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=16127"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/club.informatix.co.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=16127"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/club.informatix.co.jp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=16127"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}