<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>zehnpaard</author_name>
  <author_url>https://blog.hatena.ne.jp/zehnpaard/</author_url>
  <blog_title>Arantium Maestum</blog_title>
  <blog_url>https://zehnpaard.hatenablog.com/</blog_url>
  <categories>
    <anon>Clojure</anon>
    <anon>SICP</anon>
  </categories>
  <description>SICP1.3.1の問題1.29を解いてみる。 とりあえずSimpson Ruleを使わない積分法： (defn sum [f a next b] (if (&gt; a b) 0 (+ (f a) (sum f (next a) next b)))) (defn integral [f a b dx] (letfn [(add-dx [x] (+ x dx))] (* (sum f (+ a (/ dx 2.0)) add-dx b) dx))) これにcubeを定義して入れてやる： (defn cube [x] (* x x x)) (integral cube 0 1 0.001) 結果は0.…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fzehnpaard.hatenablog.com%2Fentry%2F2016%2F06%2F03%2F132334&quot; title=&quot;SICPの勉強 問題1.29 - Arantium Maestum&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2016-06-03 13:23:34</published>
  <title>SICPの勉強 問題1.29</title>
  <type>rich</type>
  <url>https://zehnpaard.hatenablog.com/entry/2016/06/03/132334</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
