<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>omohayui</author_name>
  <author_url>https://blog.hatena.ne.jp/omohayui/</author_url>
  <blog_title>omohayui blog</blog_title>
  <blog_url>https://www.omohayui.com/</blog_url>
  <categories>
    <anon>Go</anon>
  </categories>
  <description>A Tour of Go の練習問題 『Loops and Functions』 についてのメモ 文系（美術系）の自分にはそもそも計算式の意味が・・・ 10回ループ 問題文に書いてある通り、とりあえず ニュートン法の式をそのまま関数に入れて 10回ループさせて x の値を増やしていき math.Sqrt との近似値を確認する。 package main import ( &quot;fmt&quot; &quot;math&quot; ) func Sqrt(x float64) float64 { z := float64(1) for i := 0; i &lt; 10; i++ { z = z - (z * z - x) / 2 *…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.omohayui.com%2Fentry%2F2016%2F05%2F22%2F034251&quot; title=&quot;Exercise on A Tour of Go - omohayui 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>https://go-tour-jp.appspot.com/content/img/newton.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2016-05-22 03:42:51</published>
  <title>Exercise on A Tour of Go</title>
  <type>rich</type>
  <url>https://www.omohayui.com/entry/2016/05/22/034251</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
