{"id":1495,"date":"2021-10-10T11:59:58","date_gmt":"2021-10-10T02:59:58","guid":{"rendered":"http:\/\/www.miyamoto-lab.com\/?page_id=1495"},"modified":"2021-10-10T14:01:33","modified_gmt":"2021-10-10T05:01:33","slug":"89sdgdfogs","status":"publish","type":"page","link":"https:\/\/www.miyamoto-lab.com\/ja\/89sdgdfogs\/","title":{"rendered":"6-2. \u7df4\u7fd2\u554f\u984c\u306e\u7b54\u30482"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">\u306a\u304a\u3001\u5c0e\u95a2\u6570\u304c\u308f\u304b\u3089\u306a\u304b\u3063\u305f\u308a\u3001\u3053\u308c\u3092\u6c42\u3081\u308b\u306e\u304c\u56f0\u96e3\u3067\u3042\u308b\u5834\u5408\u3082\u3042\u308b\u3002\u305d\u306e\u5834\u5408\u306f\u3001\u6570\u5024\u5fae\u5206\u3092\u8a08\u7b97\u3057\u3066\u307f\u308b\u3068\u3046\u307e\u304f\u3044\u304f\u3053\u3068\u304c\u3042\u308b\u30021\u5909\u6570\u95a2\u6570$f(x)$\u306b\u5bfe\u3057\u3066\u306e\u5fae\u5206<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">$$f^\\prime (x)=\\lim_{h \\to 0}\\frac{f(x+h)-f(x)}{h}$$<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u3092\u3001\u6709\u9650\u306e\u5c0f\u3055\u306a\u6b63\u6570 $h$ \u3092\u7528\u3044\u3066<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">$$f^\\prime (x)\\approx \\frac{f(x+h)-f(x)}{h}$$<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u306b\u3088\u3063\u3066\u5fae\u5206\u5024\u3092\u8fd1\u4f3c\u3059\u308b\u3053\u3068\u306b\u306a\u308b\u3002\u4e38\u3081\u8aa4\u5dee\u306b\u6ce8\u610f\u304c\u5fc5\u8981\u3067\u3042\u308b\u304c\u3001\u3053\u308c\u3092\u7528\u3044\u305f\u7d50\u679c\u3068\u3001\u6b63\u3057\u3044\u5c0e\u95a2\u6570\u3092\u7528\u3044\u305f\u7d50\u679c\u3092\u6bd4\u8f03\u3059\u308b\u30d7\u30ed\u30b0\u30e9\u30e0\u3068\u3057\u3066\u3001\u305f\u3068\u3048\u3070\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u3082\u306e\u304c\u66f8\u3051\u308b\uff1a<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-c\" data-lang=\"C\"><code>#include &lt;stdio.h&gt;\n#include &lt;math.h&gt;\n#define eps 1.0e-15\n#define xinit 10.0\ndouble f(double x){\n  return 2*x*x*x+10.0*x*x-2.0*x-10.0;\n}\ndouble fp(double x){\n  return 6.0*x*x+20.0*x-2.0;\n}\nint main(void){\n  double x0, x1, f0, fp0;\n  double h=1.0e-8;\n  x0=xinit;\n  do {\n    f0=f(x0);fp0=fp(x0);\n    x1=x0-f0\/fp0;\n    x0=x1;\n    printf(&quot; %e %e \\n&quot;, x0, f0);\n  }while(fabs(f0)&gt;eps);\n  printf(&quot;answer: %e \\n&quot;, x0);\n  x0=xinit;\n  do {\n    f0=f(x0);fp0=(f(x0+h)-f(x0))\/h;\n    x1=x0-f0\/fp0;\n    x0=x1;\n    printf(&quot; %e %e \\n&quot;, x0, f0);\n  }while(fabs(f0)&gt;eps);\n  printf(&quot;answer: %e \\n&quot;, x0);\n}\n<\/code><\/pre><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">\u306a\u304a\u3001$h$\u306e\u9078\u3073\u65b9\u3068\u3057\u3066\u306f\u3001\u304a\u304a\u3088\u305d\u6709\u52b9\u6841\u6570\u306e\u534a\u5206\u7a0b\u5ea6\u304c\u826f\u3044\u3068\u3055\u308c\u3066\u3044\u308b\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u306a\u304a\u3001\u5c0e\u95a2\u6570\u304c\u308f\u304b\u3089\u306a\u304b\u3063\u305f\u308a\u3001\u3053\u308c\u3092\u6c42\u3081\u308b\u306e\u304c\u56f0\u96e3\u3067\u3042\u308b\u5834\u5408\u3082\u3042\u308b\u3002\u305d\u306e\u5834\u5408\u306f\u3001\u6570\u5024\u5fae\u5206\u3092\u8a08\u7b97\u3057\u3066\u307f\u308b\u3068\u3046\u307e\u304f\u3044\u304f\u3053\u3068\u304c\u3042\u308b\u30021\u5909\u6570\u95a2\u6570$f(x)$\u306b\u5bfe\u3057\u3066\u306e\u5fae\u5206 $$f^\\prime (x)=\\lim_{h \\to  [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_locale":"ja","_original_post":"http:\/\/www.miyamoto-lab.com\/?page_id=1495","footnotes":""},"class_list":["post-1495","page","type-page","status-publish","hentry","ja"],"_links":{"self":[{"href":"https:\/\/www.miyamoto-lab.com\/wp-json\/wp\/v2\/pages\/1495","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.miyamoto-lab.com\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.miyamoto-lab.com\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.miyamoto-lab.com\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.miyamoto-lab.com\/wp-json\/wp\/v2\/comments?post=1495"}],"version-history":[{"count":3,"href":"https:\/\/www.miyamoto-lab.com\/wp-json\/wp\/v2\/pages\/1495\/revisions"}],"predecessor-version":[{"id":1541,"href":"https:\/\/www.miyamoto-lab.com\/wp-json\/wp\/v2\/pages\/1495\/revisions\/1541"}],"wp:attachment":[{"href":"https:\/\/www.miyamoto-lab.com\/wp-json\/wp\/v2\/media?parent=1495"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}