{"categories":[],"provider_name":"Hatena Blog","width":"100%","height":"190","type":"rich","provider_url":"https://hatena.blog","published":"2020-05-18 11:17:37","image_url":"https://chart.apis.google.com/chart?cht=tx&chl=%20%5Cdfrac%7Bdy%7D%7Bdx%7D%3Dy-y%5E3","blog_title":"how to code something","blog_url":"https://seinzumtode.hatenadiary.jp/","url":"https://seinzumtode.hatenadiary.jp/entry/2020/05/18/111737","author_name":"seinzumtode","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fseinzumtode.hatenadiary.jp%2Fentry%2F2020%2F05%2F18%2F111737\" title=\"\u5fae\u5206\u65b9\u7a0b\u5f0f\u306e\u521d\u671f\u5024\u554f\u984c\uff08\u30aa\u30a4\u30e9\u30fc\u6cd5\u3067\u306e\u6570\u5024\u632f\u52d5\uff09 - how to code something\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","description":"\u3092\u8003\u3048\u308b\u3002 clear; close all; Ns=[8,10,15,20,30]; x0=0; xN=20; figure(); hold on; for idx=1:length(Ns) N = Ns(idx); x=linspace(x0,xN,N); y=zeros(1,N); y(1)=0.1; h=(xN-x0)/N; f = @(y) y-y^2; for k=2:N y(k) = y(k-1) + h*(f(y(k-1))); end plot(1:N,y,'DisplayName',sprintf('N=%d',N)); xlim([0,10]); end [x2,y2]=\u2026","version":"1.0","title":"\u5fae\u5206\u65b9\u7a0b\u5f0f\u306e\u521d\u671f\u5024\u554f\u984c\uff08\u30aa\u30a4\u30e9\u30fc\u6cd5\u3067\u306e\u6570\u5024\u632f\u52d5\uff09","author_url":"https://blog.hatena.ne.jp/seinzumtode/"}