<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>masa_cbl</author_name>
  <author_url>https://blog.hatena.ne.jp/masa_cbl/</author_url>
  <blog_title>生物物理計算化学者の雛</blog_title>
  <blog_url>https://masa-cbl.hatenadiary.jp/</blog_url>
  <categories>
    <anon>分子シミュレーション</anon>
    <anon>R</anon>
  </categories>
  <description>数学的な問題の解は大きく「解析解」と「数値解」に分けられます。例えば「サイコロを２個振って両方とも１が出る確率を求めよ」という問題を考えます。解析解は理論的・代数的に算出できる解であり、確率の知識があれば「１が出る確率は1/6であり、２回とも１が出る確率は(1/6)^2 = 1/36」と厳密な解をえられます。一方の数値解は数値計算によって解を得るアプローチです。 この問題であれば以下のＲプログラムによる数値シミュレーション（乱数によるモンテカルロ法）を行うことで、厳密解1/36に近い値が得られます。 simulateTwoDice &lt;- function(sampleNum){ count &lt;…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmasa-cbl.hatenadiary.jp%2Fentry%2F20130429%2F1367247054&quot; title=&quot;解析解と数値解 - 生物物理計算化学者の雛&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>http://ecx.images-amazon.com/images/I/51zklTjsgbL.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2013-04-29 23:50:54</published>
  <title>解析解と数値解</title>
  <type>rich</type>
  <url>https://masa-cbl.hatenadiary.jp/entry/20130429/1367247054</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
