{"id":1666,"date":"2009-06-09T23:49:00","date_gmt":"2009-06-09T14:49:00","guid":{"rendered":"https:\/\/hdmr.org\/d\/?e=393"},"modified":"2009-06-09T23:49:00","modified_gmt":"2009-06-09T14:49:00","slug":"blogn-393","status":"publish","type":"post","link":"https:\/\/hdmr.org\/d\/?e=393","title":{"rendered":"\u3053\u306e\u7a4d\u5206\u306f\u306a\u3093\u307c\u3067\u3059\u304b?"},"content":{"rendered":"<p>\u6628\u65e5\u306ee<sup>-x<sup>2<\/sup><\/sup>\u306e\u7a4d\u5206\u306e\u8a71\u3060\u304c\u3001<br \/>\u6b63\u78ba\u306b\u306f\u7a4d\u5206\u3067\u304d\u306a\u3044\u3067\u306f\u306a\u304f\u3066\u3001\u4e0d\u5b9a\u7a4d\u5206\u3092\u521d\u7b49\u95a2\u6570\u3067\u8868\u305b\u306a\u3044\u3068\u3044\u3046\u3079\u304d\u3089\u3057\u3044\u3002<br \/>\u521d\u7b49\u95a2\u6570\u3068\u3044\u3046\u306e\u306f\u591a\u9805\u5f0f\u30fb\u6307\u6570\u95a2\u6570\u30fb\u5bfe\u6570\u95a2\u6570\u306e\u7d44\u307f\u5408\u308f\u305b\u3067\u8868\u3059\u3053\u3068\u306e\u51fa\u6765\u308b\u95a2\u6570\u306e\u3053\u3068\u3089\u3057\u3044\u3002<br \/>x<sup>2<\/sup>\u3068\u304b\u3001e<sup>x<\/sup>\u3068\u304b\u3001sin(x)\u3068\u304b\u3001\u3053\u306e\u9006\u95a2\u6570\u3068\u304b\u3002<br \/>\u307e\u3041\u666e\u6bb5\u4f7f\u3046\u95a2\u6570\u3068\u3044\u3046\u610f\u5473\u3060\u3068\u601d\u3048\u3070OK\u3060\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<hr \/>\n<p>\u3057\u304b\u3057\u3053\u308c\u4ee5\u5916\u306f\u8a08\u7b97\u3067\u304d\u305f\u3082\u3093\u3058\u3083\u306a\u3044\u3002<br \/>\u305d\u3082\u305d\u3082\u4e09\u89d2\u95a2\u6570\u3068\u304b\u3082\u77e5\u3063\u3066\u308b\u89d2\u5ea6\u4ee5\u5916\u3067\u306f\u95a2\u6570\u8868\u898b\u308b\u3068\u304b\u95a2\u6570\u96fb\u5353\u53e9\u304f\u3068\u304b\u3057\u306a\u3044\u3068\u308f\u304b\u3089\u3093\u304c\u3002<br \/>\u3057\u304b\u3057\u3053\u306e\u7a4d\u5206\u306e\u7b54\u3048\u306f \u3042(x) \u3063\u3066\u3044\u3046\u95a2\u6570\u3067\u8868\u305b\u307e\u3059\u3068\u3044\u308f\u308c\u3066\u3082\u3001<br \/>\u3042(100) \u3068\u304b\u95a2\u6570\u96fb\u5353\u3068\u304b\u3067\u8a08\u7b97\u3067\u304d\u306a\u3044\u308f\u3051\u3067\u3002<br \/>\u3057\u304b\u3057\u73fe\u5b9f\u306b\u5b58\u5728\u3057\u3066\u307e\u3059\u304b\u3089\u306d\u3002<br \/>\u3060\u3063\u3066\u30b0\u30e9\u30d5\u66f8\u3044\u3066\u30de\u30b9\u76ee\u306e\u6570\u3092\u6570\u3048\u308c\u3070\u5b9a\u7a4d\u5206\u306f\u3067\u304d\u308b\u3093\u3067\u3059\u304b\u3089\u3002<br \/>\u3046\u30fc\u3093\u2026<\/p>\n<hr \/>\n<p>\u8abf\u3079\u3066\u307f\u308b\u3068e<sup>-x<sup>2<\/sup><\/sup>\u3068\u3044\u3046\u306e\u306f\u6709\u540d\u3089\u3057\u304f\u3066\u3001<br \/>\u3053\u306e\u4e0d\u5b9a\u7a4d\u5206\u306f\u8aa4\u5dee\u95a2\u6570erf(x)\u3092\u7528\u3044\u3066\u3001((\u221a\u03c0)\/2) erf( x ) \u3068\u8868\u305b\u308b\u3088\u3046\u3067\u3059\u3002<br \/>\u305f\u3060erf\u3068\u3044\u3046\u306e\u306f\u3055\u3063\u304d\u8a00\u3063\u305f\u3088\u3046\u306b\u521d\u7b49\u95a2\u6570\u3067\u8868\u305b\u307e\u305b\u3093\u3051\u3069\u3002<br \/>\u305f\u3060\u8a08\u7b97\u3067\u304d\u308b\u3068\u3053\u308d\u304c\u4e16\u306e\u4e2d\u306b\u306f\u3042\u308b\u3093\u3067\u3059\u306d\u3002<br \/><a href=\"http:\/\/keisan.casio.jp\/has10\/SpecExec.cgi?path=08000000%2e%93%c1%8e%ea%8a%d6%90%94%2f06000100%2e%8c%eb%8d%b7%8a%d6%90%94%2f10000100%2e%8c%eb%8d%b7%8a%d6%90%94%2fdefault%2exml\">\u8aa4\u5dee\u95a2\u6570 &#8211; Keisan<\/a><br \/>erf(1)\u3068\u304b\u8a08\u7b97\u3059\u308b\u30680.8427\u3068\u51fa\u3066\u304f\u308b\u3001\u305d\u3057\u3066erf(0)\u306f0\u3060\u3068\u3002<br \/>\u3053\u308c\u3092\u7528\u3044\u3066\u222b<sub>0<\/sub><sup>1<\/sup>e<sup>-x<sup>2<\/sup><\/sup>dx\u3092\u8a08\u7b97\u3059\u308b\u3068\u3001<br \/>\u222b<sub>0<\/sub><sup>1<\/sup>e<sup>-x<sup>2<\/sup><\/sup>dx=[ ((\u221a\u03c0)\/2) erf( x ) ]<sub>0<\/sub><sup>1<\/sup> = ((\u221a\u03c0)\/2)(erf(1)-erf(0)) = 0.7468<br \/>\u306a\u3093\u304b\u3067\u304d\u305f\u3002<\/p>\n<hr \/>\n<p>\u3042\u3068\u5b9a\u7a4d\u5206\u306f\u30b3\u30f3\u30d4\u30e5\u30fc\u30bf\u306b\u3084\u3089\u305b\u308c\u3070\u3067\u304d\u307e\u3059\u3002<br \/>Perl\u3067\u3084\u308b\u65b9\u6cd5\u3092\u66f8\u3044\u3066\u307f\u308b\u3002<\/p>\n<pre>sub f{<br \/>  my $x=shift;<br \/>  return exp(-$x**2);<br \/>}<br \/>my $s=0;<br \/>my $y0=undef;<br \/>my $dx=1e-5;<br \/>for(my $x=0;$x<=1;$x+=$dx){<br \/>  my $y=f($x);<br \/>  $s+=($y+$y0)*$dx\/2  if(defined $y0);<br \/>  $y0=$y;<br \/>}<br \/>print \"$s\\n\";<\/pre>\n<p>\u307e\u305af\u3068\u3044\u3046\u30b5\u30d6\u30eb\u30fc\u30c1\u30f3\u3067\u95a2\u6570\u3092\u5b9a\u7fa9\u3057\u3066\u3044\u308b\u3002<br \/>\u307e\u3041f\u306f\u4e0b\u3067\u4e00\u56de\u3057\u304b\u4f7f\u308f\u306a\u3044\u304b\u3089\u30d9\u30bf\u3067\u66f8\u3044\u3066\u3082\u3088\u304b\u3063\u305f\u3093\u3060\u304c\u3001\u3042\u3048\u3066\u3053\u3046\u3057\u3066\u307f\u305f\u3002<br \/>\u3053\u306ef\u306e\u4e2d\u8eab\u3092\u5909\u3048\u308c\u3070\u3069\u3093\u306a\u95a2\u6570\u3067\u3082\u7a4d\u5206\u3067\u304d\u308b\u3002<br \/>$dx\u306b\u9069\u5f53\u306a\u5024\u3092\u8a2d\u5b9a\u3057\u3066for\u3067\u6240\u671b\u306e\u533a\u9593\u3092dx\u306e\u9593\u9694\u3067\u5024\u3092\u53d6\u3063\u3066\u7a4d\u5206\u3059\u308b\u3002<br \/>\u3053\u3053\u3067\u306f\u53f0\u5f62\u516c\u5f0f\u306a\u3093\u3066\u306e\u3092\u4f7f\u3063\u3066\u3044\u308b\u3002<br \/>\u30b0\u30e9\u30d5\u3092\u77ed\u518a\u72b6\u306b\u5207\u3063\u3066\u3001\u3053\u308c\u3092\u53f0\u5f62\u3060\u3068\u601d\u3063\u3066\u9762\u7a4d\u3092\u6c42\u3081\u3066\u8db3\u3057\u5408\u308f\u305b\u308b\u3068\u3002<br \/>\u4e0b\u5e95\u304c$y0\u3001\u4e0a\u5e95\u304c$y\u3001\u9ad8\u3055\u304c$dx\u306e\u53f0\u5f62\u306e\u9762\u7a4d\u3092\u8db3\u3057\u3066\u3044\u304f\u3068\u3002<br \/>\u307e\u3041\u6570\u5024\u7a4d\u5206\u306e\u65b9\u6cd5\u3068\u3057\u3066\u306f\u307e\u3041\u307e\u3041\u7c21\u5358\u306a\u65b9\u6cd5\u3067\u3059\u3002<br \/>\u3053\u306e\u7d50\u679c\u306f0.7468\u3001\u3055\u3063\u304d\u3068\u540c\u3058\u6570\u5024\u306b\u306a\u308a\u307e\u3059\u306d\u3002<\/p>\n<hr \/>\n<p>\u307e\u3041\u3069\u3093\u306a\u95a2\u6570\u3067\u3082\u6570\u5024\u7a4d\u5206\u306f\u3067\u304d\u308b\u3093\u3067\u3059\u3088\u3002<br \/>\u3069\u3093\u306a\u95a2\u6570\u3068\u3044\u3046\u306e\u306f\u4f8b\u3048\u3070\u5b9f\u9a13\u30c7\u30fc\u30bf\u3068\u304b\u3002<br \/>\u3048\u3048\u3001\u3067\u304d\u308b\u3093\u3067\u3059\u3002<br \/>\u30b3\u30f3\u30c7\u30f3\u30b5\u306e\u653e\u96fb\u96fb\u6d41\u3092\u6e2c\u5b9a\u3057\u305f\u30c7\u30fc\u30bf\u3092\u3055\u3063\u304d\u306e\u3088\u3046\u306b\u53f0\u5f62\u516c\u5f0f\u4f7f\u3063\u3066\u7a4d\u5206\u3002<br \/>\u3067\u304d\u307e\u3059\u3088\u3002\u5b9f\u9a13\u30ec\u30dd\u30fc\u30c8\u306e\u4f5c\u6210\u306e\u305f\u3081\u306b\u3057\u307e\u3057\u305f\u304b\u3089\u3002<br \/>\u305d\u3046\u3057\u305f\u3089\u6e9c\u307e\u3063\u3066\u305f\u96fb\u8377\u306e\u7dcf\u91cf\u304c\u51fa\u3066\u304d\u307e\u3059\u306d\u3002<br \/>\u3059\u3054\u3044\u8aa4\u5dee\u3060\u3063\u305f\u3051\u3069\u3002\u3051\u3069\u96fb\u89e3\u30b3\u30f3\u30c7\u30f3\u30b5\u306e\u9759\u96fb\u5bb9\u91cf\u306f\u7d50\u69cb\u3070\u3089\u3064\u304d\u6fc0\u3057\u3044\u3089\u3057\u3044\u3057\u3002<br \/>\u307e\u3041\u7a4d\u5206\u3068\u3044\u3046\u306e\u306f\u305d\u3046\u3044\u3046\u98a8\u306b\u6c17\u697d\u306b\u8003\u3048\u308b\u3053\u3068\u3082\u51fa\u6765\u307e\u3059\u306d\u3002<br \/>\u3044\u3084\u3001\u6570\u5b66\u306e\u7a4d\u5206\u306f\u96e3\u3057\u3044\u3051\u3069\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6628\u65e5\u306ee-x2\u306e\u7a4d\u5206\u306e\u8a71\u3060\u304c\u3001\u6b63\u78ba\u306b\u306f\u7a4d\u5206\u3067\u304d\u306a\u3044\u3067\u306f\u306a\u304f\u3066\u3001\u4e0d\u5b9a\u7a4d\u5206\u3092\u521d\u7b49\u95a2\u6570\u3067\u8868\u305b\u306a\u3044\u3068\u3044\u3046\u3079\u304d\u3089\u3057\u3044\u3002\u521d\u7b49\u95a2\u6570\u3068\u3044\u3046\u306e\u306f\u591a\u9805\u5f0f\u30fb\u6307\u6570\u95a2\u6570\u30fb\u5bfe\u6570\u95a2\u6570\u306e\u7d44\u307f\u5408\u308f\u305b\u3067\u8868\u3059\u3053\u3068\u306e\u51fa\u6765\u308b\u95a2\u6570\u306e\u3053\u3068\u3089\u3057\u3044\u3002x2\u3068\u304b\u3001ex\u3068\u304b\u3001 [&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-1666","post","type-post","status-publish","format-standard","hentry","category-science"],"_links":{"self":[{"href":"https:\/\/hdmr.org\/d\/index.php?rest_route=\/wp\/v2\/posts\/1666","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=1666"}],"version-history":[{"count":0,"href":"https:\/\/hdmr.org\/d\/index.php?rest_route=\/wp\/v2\/posts\/1666\/revisions"}],"wp:attachment":[{"href":"https:\/\/hdmr.org\/d\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1666"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hdmr.org\/d\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1666"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hdmr.org\/d\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1666"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}