{"id":160,"date":"2017-05-06T17:01:29","date_gmt":"2017-05-06T08:01:29","guid":{"rendered":"http:\/\/daily-memorials.net\/?p=160"},"modified":"2017-08-22T18:28:19","modified_gmt":"2017-08-22T09:28:19","slug":"%e3%82%aa%e3%82%a4%e3%83%a9%e3%83%bc%e6%b3%95","status":"publish","type":"post","link":"http:\/\/daily-memorials.net\/?p=160","title":{"rendered":"\u6570\u5024\u8a08\u7b97(1)\u30aa\u30a4\u30e9\u30fc\u6cd5"},"content":{"rendered":"<p><br \/>\n\u6570\u5024\u8a08\u7b97\u306e\u57fa\u672c\u3092\u307e\u3068\u3081\u3066\u3044\u304f\u30b3\u30fc\u30ca\u30fc\u3067\u3059\u3002<br \/>\n\u5fae\u5206\u65b9\u7a0b\u5f0f\u3092\u89e3\u304f\u306e\u306b\u306f\u89e3\u6790\u7684\u624b\u6cd5\u3068\u6570\u5024\u8a08\u7b97\u306e\uff12\u7a2e\u985e\u304c\u3042\u308b\u3002<br \/>\n\u89e3\u6790\u7684\u624b\u6cd5\u3068\u306f\u5f0f\u5909\u5f62\u3060\u3051\u3067\u89e3\u3051\u308b\u5f62\u306b\u3059\u308b\u3053\u3068\u3060\u304c\u3001\u4e2d\u306b\u306f\u89e3\u304f\u306e\u304c\u96e3\u3057\u3044\u3082\u306e\u3082\u3042\u308b\u3002<br \/>\n\u6570\u5024\u8a08\u7b97\u3067\u306f\u5fae\u5206\u3067\u306f\u306a\u304f\u5fae\u5c0f\u533a\u9593\u3067\u7e70\u308a\u8fd4\u3057\u8a08\u7b97\u3059\u308b\u3053\u3068\u3067\u3053\u308c\u3092\u89e3\u304f\u3068\u3044\u3046\u3082\u306e\u3067\u3042\u308b\u3002<br \/>\n\u3053\u306e\u3046\u3061\u4e00\u6b21\u8fd1\u4f3c\u3092\u7528\u3044\u305f\u3082\u306e\u3092\u30aa\u30a4\u30e9\u30fc\u6cd5\u3068\u3044\u3046\u3002<br \/>\n\\begin{equation}<br \/>\n\\frac{dy}{dx}= f(x,y)<br \/>\n\\end{equation}<br \/>\n\u30aa\u30a4\u30e9\u30fc\u6cd5\u3067\u306f\u3053\u306e\u5f0f\u3092\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u3057\u3066\u8a08\u7b97\u3059\u308b\u3002<br \/>\n\\begin{eqnarray}<br \/>\ny(x+h) = y(x) + h \\cdot \\frac{dy}{dx} \\\\<br \/>\n= y(x) + h \\cdot f(x,y)<br \/>\n\\end{eqnarray}<br \/>\n\u3053\u3053\u3067h\u306f\u5fae\u5c0f\u533a\u9593\u3067\u3042\u308a\\(h \\to 0 \\)\u3068\u3059\u308b\u3068\u89e3\u6790\u7684\u624b\u6cd5\u3067\u6c42\u3081\u305f\u3082\u306e\u3068\u7b49\u4fa1\u306b\u306a\u308b\u3002<br \/>\n\u3053\u3053\u3067\u306f\\(h = 0.01,f(x,y) = y,y(0)=1\\) \u3068\u3057\u3066\u8003\u3048\u3066\u307f\u3088\u3046\u3002<br \/>\n\u3053\u306e\u6642\u3001\u5fae\u5206\u65b9\u7a0b\u5f0f\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u306a\u308b\u3002<br \/>\n\\begin{equation}<br \/>\n\\frac{dy}{dx}= y<br \/>\n\\end{equation}<br \/>\n\u4e0a\u8a18\u306e\u5f0f\u306e\\(y(1)\\)\u306b\u3064\u3044\u3066\u6c42\u3081\u3066\u307f\u308b\u3002(\u4e2d\u7565\u3042\u308a)<br \/>\n\\begin{eqnarray}<br \/>\ny(0) = 1 \\\\<br \/>\ny(0.01) = 1.01 \\\\<br \/>\ny(0.02) = 1.020100 \\\\<br \/>\ny(1) = 2.704814<br \/>\n\\end{eqnarray}<br \/>\n\u306a\u304a\u3001\u3053\u306e\u5f0f\u306e\u89e3\u6790\u89e3\u306f\\(y=e^{x}\\)\u3067\u3042\u308b\u306e\u3067\u3001\\(y(1)=e\\)\u3067\u3042\u308b\u3002<br \/>\n\u3053\u308c\u3088\u308a\u6570\u5024\u8a08\u7b97\u3067\u6c42\u3081\u305f\u89e3\u306f\u89e3\u6790\u89e3\u306b\u8fd1\u4f3c\u3057\u3066\u3044\u308b\u3053\u3068\u304c\u308f\u304b\u308b\u3002<\/p>\n<pre class=\"brush: cpp; title: ; notranslate\" title=\"\">\r\n#include &lt;stdio.h&gt;\r\n#include &lt;math.h&gt;\r\nint main(int argc, const char * argv[]) {\r\n    \/\/ insert code here...\r\n    printf(&quot;Hello, World!\\n&quot;);\r\n    double y[101];\r\n    double h = 0.01;\r\n    y[0] = 1.0f;\r\n    for(int i=0;i&lt;100;i++){\r\n        y[i+1] = y[i] + h*y[i];\r\n        printf(&quot;i=%d y=%f\\n&quot;,i+1,y[i+1]);\r\n    }\r\n    return 0;\r\n}\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\u6570\u5024\u8a08\u7b97\u306e\u57fa\u672c\u3092\u307e\u3068\u3081\u3066\u3044\u304f\u30b3\u30fc\u30ca\u30fc\u3067\u3059\u3002 \u5fae\u5206\u65b9\u7a0b\u5f0f\u3092\u89e3\u304f\u306e\u306b\u306f\u89e3\u6790\u7684\u624b\u6cd5\u3068\u6570\u5024\u8a08\u7b97\u306e\uff12\u7a2e\u985e\u304c\u3042\u308b\u3002 \u89e3\u6790\u7684\u624b\u6cd5\u3068\u306f\u5f0f\u5909\u5f62\u3060\u3051\u3067\u89e3\u3051\u308b\u5f62\u306b\u3059\u308b\u3053\u3068\u3060\u304c\u3001\u4e2d\u306b\u306f\u89e3\u304f\u306e\u304c\u96e3\u3057\u3044\u3082\u306e\u3082\u3042\u308b\u3002 \u6570\u5024\u8a08\u7b97\u3067\u306f\u5fae\u5206\u3067\u306f\u306a\u304f\u5fae\u5c0f\u533a\u9593 &hellip; <a href=\"http:\/\/daily-memorials.net\/?p=160\" class=\"more-link\"><span class=\"screen-reader-text\">&#8220;\u6570\u5024\u8a08\u7b97(1)\u30aa\u30a4\u30e9\u30fc\u6cd5&#8221; \u306e<\/span>\u7d9a\u304d\u3092\u8aad\u3080<\/a><\/p>\n","protected":false},"author":1,"featured_media":327,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[8],"tags":[],"_links":{"self":[{"href":"http:\/\/daily-memorials.net\/index.php?rest_route=\/wp\/v2\/posts\/160"}],"collection":[{"href":"http:\/\/daily-memorials.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/daily-memorials.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/daily-memorials.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/daily-memorials.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=160"}],"version-history":[{"count":23,"href":"http:\/\/daily-memorials.net\/index.php?rest_route=\/wp\/v2\/posts\/160\/revisions"}],"predecessor-version":[{"id":163,"href":"http:\/\/daily-memorials.net\/index.php?rest_route=\/wp\/v2\/posts\/160\/revisions\/163"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/daily-memorials.net\/index.php?rest_route=\/wp\/v2\/media\/327"}],"wp:attachment":[{"href":"http:\/\/daily-memorials.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=160"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/daily-memorials.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=160"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/daily-memorials.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=160"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}