<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>sirocco</author_name>
  <author_url>https://blog.hatena.ne.jp/sirocco/</author_url>
  <blog_title>sirocco の書いてもすぐに忘れるメモ</blog_title>
  <blog_url>https://sirocco.hatenadiary.org/</blog_url>
  <categories>
    <anon>Haskell</anon>
  </categories>
  <description>ザリガニが見ていた...。√2や円周率πの驚きを参考にHaskell の練習に√2 を計算してみました。 {- 1 2 5 12 29 70 169 408 985 ... 次の数を求めるには、今の数を2倍して、前の数を足す。 例：5の次は... 5 × 2 + 2 = 12 √2 ≒ 408 ÷ 985 + 1 = 1.4142131979 -} sqr2 x = (head (tail (rseq x))) / (head (rseq x)) + 1 where rseq 1 = [1] rseq 2 = [2,1] rseq x = (((head (rseq (x-1))) * 2) …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsirocco.hatenadiary.org%2Fentry%2F20090517%2F1242509268&quot; title=&quot;√2 を計算してみた - sirocco の書いてもすぐに忘れるメモ&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>2009-05-17 06:27:48</published>
  <title>√2 を計算してみた</title>
  <type>rich</type>
  <url>https://sirocco.hatenadiary.org/entry/20090517/1242509268</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
