{"published":"2012-03-16 22:54:53","author_name":"xef","url":"https://xef.hatenadiary.org/entry/20120316/1331906093","provider_name":"Hatena Blog","title":"numpy+matplotlib\u3067\u30d5\u30ec\u30cd\u30eb\u7a4d\u5206","author_url":"https://blog.hatena.ne.jp/xef/","width":"100%","image_url":"https://cdn-ak.f.st-hatena.com/images/fotolife/x/xef/20120316/20120316225044.png","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fxef.hatenadiary.org%2Fentry%2F20120316%2F1331906093\" title=\"numpy+matplotlib\u3067\u30d5\u30ec\u30cd\u30eb\u7a4d\u5206 - Soleil cou coupe\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","blog_url":"https://xef.hatenadiary.org/","description":"wikipedia:\u30d5\u30ec\u30cd\u30eb\u7a4d\u5206\u3092\u53c2\u8003\u306b\u3002\u306a\u3093\u3067\u3084\u308d\u3046\u3068\u601d\u3063\u305f\u306e\u304b\u30c9\u5fd8\u308c\u3057\u305f\u306e\u3067\u3044\u308d\u3044\u308d\u96d1\u3002 from matplotlib import pyplot as plt import numpy as np from scipy.integrate import quad MIN_X = 0. MAX_X = 5. RANGE = 0.001 T = int(MIN_X/RANGE) t = np.arange(MIN_X, MAX_X, RANGE) sx = [] cx = [] for i in t: sx.append(quad(lambda x: np.sin(x**2), MIN_X\u2026","categories":["Python"],"version":"1.0","provider_url":"https://hatena.blog","height":"190","type":"rich","blog_title":"Soleil cou coupe"}