{"id":1658,"date":"2009-06-01T23:39:00","date_gmt":"2009-06-01T14:39:00","guid":{"rendered":"https:\/\/hdmr.org\/d\/?e=385"},"modified":"2009-06-01T23:39:00","modified_gmt":"2009-06-01T14:39:00","slug":"blogn-385","status":"publish","type":"post","link":"https:\/\/hdmr.org\/d\/?e=385","title":{"rendered":"n\u56de\u76ee\u306e\u78ba\u7387\u306f\u3068\u805e\u304b\u308c\u308c\u3070\u6570\u5217\u3060\u3068\u3044\u3046"},"content":{"rendered":"<p>\u4eca\u65e5\u306e\u8a71\u306f\u78ba\u7387\u306e\u8a71\u3067\u3059\u304c\u3001\u672c\u984c\u306f\u78ba\u7387\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3001\u6570\u5217\u3067\u3059\u3002<br \/>n\u56de\u76ee\u306e\u78ba\u7387\u3068\u3044\u3046\u306e\u3092\u8003\u3048\u3088\u3046\u3068\u3059\u308b\u3068\u6570\u5217\u3063\u3066\u306e\u304c\u51fa\u3066\u304f\u308b\u3093\u3067\u3059\u306d\u3002<br \/>\u307e\u3041\u5927\u6982\u7b49\u6bd4\u6570\u5217\u306e\u8003\u3048\u3092\u4f7f\u3046\u308f\u3051\u3067\u3059\u304c\u3002<\/p>\n<hr \/>\n<p>\u4f8b\u3048\u3070\u3053\u3093\u306a\u554f\u984c\u3067\u3059\u3002<br \/>\u5de6\u306e\u888b\u306b\u767d\u7389\u304c9\u500b\u3001\u8d64\u7389\u304c1\u500b\u3001\u53f3\u306e\u888b\u306b\u767d\u7389\u304c10\u500b\u5165\u3063\u3066\u308b\u3068\u3002<br \/>\u3059\u306a\u308f\u3061\u5de6\u306e\u888b\u306b1\u500b\u3060\u3051\u8d64\u7389\u304c\u5165\u3063\u3066\u3044\u308b\u3068\u8a00\u3046\u3053\u3068\u3067\u3059\u3002<br \/>\u3053\u3053\u3067\u5de6\u306e\u888b\u3068\u53f3\u306e\u888b\u30671\u3064\u306e\u7389\u3092\u5165\u308c\u66ff\u3048\u308b\u3068\u3044\u3046\u52d5\u4f5c\u3092\u3057\u307e\u3059\u3002<br \/>\u305d\u3046\u3044\u3046\u52d5\u4f5c\u3092n\u56de\u7e70\u308a\u8fd4\u3057\u305f\u3068\u304d\u306e\u5de6\u306e\u888b\u306b\u8d64\u7389\u304c\u3044\u308b\u78ba\u7387\u3092\u6c42\u3081\u308d\u3002<br \/>\u3068\u3044\u3046\u554f\u984c\u3067\u3059\u3002\u3068\u308a\u3042\u3048\u305an\u56de\u76ee\u306e\u78ba\u7387\u3092a<sub>n<\/sub>\u3068\u3057\u3066\u6c42\u3081\u307e\u3057\u3087\u3046\u3068\u3002<br \/>\u5de6\u306e\u888b\u306b\u8d64\u7389\u304c\u3042\u308c\u3070\u3001\u8d64\u7389\u304c\u5de6\u306e\u888b\u304b\u3089\u53f3\u306e\u888b\u306b\u52d5\u304b\u306a\u3044\u78ba\u7387\u306f9\/10\u3001<br \/>\u53f3\u306e\u888b\u306b\u8d64\u7389\u304c\u3042\u308c\u3070\u3001\u8d64\u7389\u304c\u53f3\u306e\u888b\u304b\u3089\u5de6\u306e\u888b\u306b\u52d5\u304f\u78ba\u7387\u306f1\/10\u3001<br \/>\u3068\u3044\u3046\u308f\u3051\u3067\u3053\u3046\u3044\u3046\u95a2\u4fc2\u304c\u51fa\u3066\u304d\u307e\u3059\u3088\u3068\u3002<br \/>a<sub>n<\/sub>=a<sub>n-1<\/sub>\u00d7(9\/10)+(1-a<sub>n-1<\/sub>)\u00d7(1\/10)<br \/>1\u56de\u3084\u308b\u305f\u3073\u306b\u524d\u306e\u56de\u306e\u7d50\u679c\u3092\u3053\u3046\u3084\u3063\u3066\u6539\u5909\u3059\u308c\u3070\u3044\u3044\u308f\u3051\u3067\u3059\u3002<br \/>\u53f3\u306e\u888b\u306b\u8d64\u7389\u304c\u3042\u308b\u3068\u3044\u3046\u306e\u306f\u3001\u5de6\u306e\u888b\u306b\u8d64\u7389\u304c\u306a\u3044\u3068\u3044\u3046\u3053\u3068\u306a\u306e\u3067(1-a<sub>n-1<\/sub>)\u3068\u304b\u3051\u308b\u3068\u3002<br \/>\u305d\u308c\u3060\u3051\u306e\u3053\u3068\u3067\u3059\u3002<br \/>\u306a\u306e\u3067\u30b3\u30f3\u30d4\u30e5\u30fc\u30bf\u3067n\u56de\u76ee\u306e\u78ba\u7387\u3092\u6c42\u3081\u308b\u3053\u3068\u306f\u96e3\u3057\u304f\u306a\u3044\u3067\u3059\u306d\u3002<\/p>\n<pre>my $a=1;<br \/>for(1..20){<br \/>  $a=$a*9\/10+(1-$a)\/10;<br \/>  printf(\"%2d | %.3f\\n\",$_,$a);<br \/>}<\/pre>\n<p>Perl\u3067\u304b\u304b\u308c\u305f1\u304b\u308920\u56de\u5165\u308c\u66ff\u3048\u305f\u3068\u304d\u306e\u5de6\u306b\u3044\u308b\u78ba\u7387\u3092\u8868\u793a\u3055\u305b\u308b\u30d7\u30ed\u30b0\u30e9\u30e0\u3002<br \/>\u3082\u3061\u308d\u3093\u79fb\u52d5\u3055\u305b\u308b\u524d\u306f\u5de6\u306b\u3044\u308b\u78ba\u7387\u306f1\u3067\u3059\u306d\u3002<\/p>\n<hr \/>\n<p>\u305f\u3060\u3001\u3053\u308c\u3067\u306f\u7b54\u3048\u306b\u306a\u3089\u306a\u3044\u3093\u3067\u3059\u306d\u3002<br \/>a<sub>n<\/sub>\u3092n\u3092\u4f7f\u3063\u305f\u5f0f\u3067\u8868\u3055\u306a\u304f\u3066\u306f\u306a\u3089\u306a\u3044\u3002<br \/>\u305d\u306e\u65b9\u6cd5\u304c\u975e\u5e38\u306b\u96e3\u3057\u3044\u3002\u3068\u3044\u3046\u304b\u50d5\u306f\u77e5\u3089\u306a\u304b\u3063\u305f\u3002<br \/>\u3068\u3053\u308d\u3067a<sub>n<\/sub>=2a<sub>n-1<\/sub>\u3068\u3044\u3046\u5f0f\u304c\u4e0e\u3048\u3089\u308c\u305f\u3089\u3001<br \/>\u3053\u308c\u306f\u7c21\u5358\u306ba<sub>n<\/sub>\u3092n\u306e\u5f0f\u306b\u5909\u3048\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<br \/>a<sub>n<\/sub>=a<sub>1<\/sub>\u00d72<sup>n-1<\/sup><br \/>\u307e\u3041\u3053\u3093\u306a\u5177\u5408\u3067\u3059\u3002a<sub>1<\/sub>\u306f\u521d\u9805\u3067\u3059\u306d\u3002<br \/>\u5b9f\u306f\u3053\u308c\u3068\u540c\u3058\u8981\u9818\u3067\u3044\u3051\u308b\u307f\u305f\u3044\u3067\u3059\u3002\u305f\u3060\u306a\u304b\u306a\u304b\u7c21\u5358\u3067\u306f\u306a\u3044\u3002<br \/>\u3068\u308a\u3042\u3048\u305a\u3055\u3063\u304d\u306e\u5f0f\u3092\u6574\u7406\u3057\u3066\u307f\u308b\u3068\u3053\u3093\u306a\u611f\u3058\u306b\u306a\u308b\u3002<br \/>a<sub>n<\/sub>=(4\/5)\u00d7a<sub>n-1<\/sub>+(1\/10)<br \/>\u3057\u304b\u3057\u3053\u308c\u3067\u306f1\/10\u306e\u9805\u304c\u90aa\u9b54\u3067\u3059\u304b\u3089\u306d\u3001\u3069\u3046\u306b\u304b\u3057\u306a\u3044\u3068\u3002<br \/>\u3057\u304b\u3057\u3053\u308c\u3092 a<sub>n<\/sub>+B=A(a<sub>n-1<\/sub>+B) \u306e\u5f62\u306b\u5909\u5f62\u3067\u304d\u308c\u3070\u3001<br \/>a<sub>n<\/sub>+B=(a<sub>1<\/sub>+B)\u00d7A<sup>n-1<\/sup>\u3068\u3067\u304d\u308b\u3002<br \/>\u3068\u308a\u3042\u3048\u305a\u3055\u3063\u304d\u306e\u5f0f\u3092\u5c55\u958b\u3059\u308b\u3068\u3001a<sub>n<\/sub>=Aa<sub>n-1<\/sub>+B(A-1)\u3068\u3044\u3046\u98a8\u306b\u306a\u308a\u307e\u3059\u3002<br \/>\u3053\u308c\u3068\u6bd4\u8f03\u3059\u308b\u3068\u3001A=4\/5\u3001-B(1\/5)=1\/10\u306a\u306e\u3067B=-1\/2\u3068\u306a\u308c\u3070\u3088\u3055\u305d\u3046\u3067\u3059\u3002<br \/>\u305d\u3046\u3059\u308c\u3070\u7d50\u679c\u306fa<sub>n<\/sub>-(1\/2)=(a<sub>0<\/sub>-(1\/2))\u00d7(4\/5)<sup>n<\/sup>\u3001<br \/>a<sub>0<\/sub>\u306f\u52d5\u304b\u3059\u524d\u306e\u5de6\u306b\u3044\u308b\u78ba\u7387\u306a\u306e\u30671\u3067\u3059\u306d\u3001\u3068\u3044\u3046\u308f\u3051\u3067\u7b54\u3048\u306f\u3001<br \/>a<sub>n<\/sub>=(1\/2)\u00d7(4\/5)<sup>n<\/sup>+(1\/2)<br \/>\u5b9f\u969b\u3055\u3063\u304d\u30d7\u30ed\u30b0\u30e9\u30e0\u3067\u8a08\u7b97\u3057\u305f\u5024\u3068\u4e00\u81f4\u3059\u308b\u3002<\/p>\n<hr \/>\n<p>\u3068\u3053\u308d\u3067\u898b\u308a\u3083\u308f\u304b\u308a\u307e\u3059\u3051\u3069\u3001n\u304c\u5927\u304d\u304f\u306a\u308c\u3070(4\/5)<sup>n<\/sup>\u306f\u5c0f\u3055\u304f\u306a\u3063\u3066\u3044\u304f\u3002<br \/>n=\u221e\u306e\u3068\u304d\u306f\u3053\u306e\u78ba\u7387\u306f1\/2\u306b\u306a\u308b\u3068\u3002<br \/>\u3059\u306a\u308f\u3061\u3069\u3063\u3061\u306b\u3082\u540c\u3058\u78ba\u7387\u3067\u5b58\u5728\u3059\u308b\u3088\u3046\u306b\u306a\u308b\u3068\u3002<br \/>\u76f4\u611f\u7684\u306b\u3082\u308f\u304b\u308a\u307e\u3059\u3088\u306d\u3002<br \/>\u3050\u3063\u3061\u3083\u3050\u3061\u3083\u306b\u4f55\u56de\u3082\u5165\u308c\u66ff\u3048\u308c\u3070\u3001\u305d\u308c\u306f\u5747\u7b49\u306b\u6df7\u3056\u308a\u5408\u3063\u3066\u308b\u3093\u3067\u3059\u304b\u3089\u3002<br \/>\u305d\u3046\u3044\u3046\u3053\u3068\u304c\u308f\u304b\u308a\u307e\u3059\u306d\u3068\u3044\u3046\u8a71\u3067\u3059\u3002<br \/>\u307e\u3041\u6570\u5f0f\u3060\u3051\u3067\u3084\u308b\u306e\u306f\u672c\u5f53\u306b\u5927\u5909\u3002\u3051\u3069\u30b3\u30f3\u30d4\u30e5\u30fc\u30bf\u3067\u306f\u3044\u3068\u3082\u7c21\u5358\u306b\u6c42\u307e\u308b\u3093\u3060\u304b\u3089\u9762\u767d\u3044\u3002<br \/>\u5b9f\u969b\u306f\u624b\u8a08\u7b97\u3067\u3082n\u306e\u5024\u3055\u3048\u4e0e\u3048\u3089\u308c\u308c\u3070\u3067\u304d\u308b\u3093\u3060\u3051\u3069\u306d\u3002<br \/>\u307e\u3041\u305d\u3046\u3044\u3046\u6570\u5b66\u306e\u304a\u8a71\u3067\u3057\u305f\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4eca\u65e5\u306e\u8a71\u306f\u78ba\u7387\u306e\u8a71\u3067\u3059\u304c\u3001\u672c\u984c\u306f\u78ba\u7387\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3001\u6570\u5217\u3067\u3059\u3002n\u56de\u76ee\u306e\u78ba\u7387\u3068\u3044\u3046\u306e\u3092\u8003\u3048\u3088\u3046\u3068\u3059\u308b\u3068\u6570\u5217\u3063\u3066\u306e\u304c\u51fa\u3066\u304f\u308b\u3093\u3067\u3059\u306d\u3002\u307e\u3041\u5927\u6982\u7b49\u6bd4\u6570\u5217\u306e\u8003\u3048\u3092\u4f7f\u3046\u308f\u3051\u3067\u3059\u304c\u3002 \u4f8b\u3048\u3070\u3053\u3093\u306a\u554f\u984c\u3067\u3059\u3002\u5de6\u306e\u888b\u306b\u767d\u7389\u304c9\u500b\u3001\u8d64\u7389\u304c [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[],"class_list":["post-1658","post","type-post","status-publish","format-standard","hentry","category-science"],"_links":{"self":[{"href":"https:\/\/hdmr.org\/d\/index.php?rest_route=\/wp\/v2\/posts\/1658","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hdmr.org\/d\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hdmr.org\/d\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hdmr.org\/d\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/hdmr.org\/d\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1658"}],"version-history":[{"count":0,"href":"https:\/\/hdmr.org\/d\/index.php?rest_route=\/wp\/v2\/posts\/1658\/revisions"}],"wp:attachment":[{"href":"https:\/\/hdmr.org\/d\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1658"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hdmr.org\/d\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1658"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hdmr.org\/d\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1658"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}