<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>reinyannyan</author_name>
  <author_url>https://blog.hatena.ne.jp/reinyannyan/</author_url>
  <blog_title>(new Hatena).blog()</blog_title>
  <blog_url>https://reinyannyan.hatenadiary.org/</blog_url>
  <categories>
    <anon>JavaScript</anon>
  </categories>
  <description>SICP ネタです。SICP ３章のストリームの節に、ライプニッツ級数というものが紹介されています。 pi/4 = 1 - 1/3 + 1/5 - 1/7 + ...という式です。項毎に符号が入れ替わる奇数の逆数の無限列、その総和が、パイの４分の１に収束する、というものです。一見理解しがたい話ですが、このことの理論的背景については Wikipedia の解説を参照していただきたいと思います。理論はさて置き、本を読んでいて「なんか簡単に JavaScript でも出来そう」と思ったので、やってみました (本文最後にデモページへのリンクがあります)。以下、コードは全て Scheme からの翻訳です…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Freinyannyan.hatenadiary.org%2Fentry%2F20071121%2Fp1&quot; title=&quot; 無限数列、無限級数、円周率 - (new Hatena).blog()&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>2007-11-21 00:00:00</published>
  <title> 無限数列、無限級数、円周率</title>
  <type>rich</type>
  <url>https://reinyannyan.hatenadiary.org/entry/20071121/p1</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
