<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>pianofisica</author_name>
  <author_url>https://blog.hatena.ne.jp/pianofisica/</author_url>
  <blog_title>pianofisica</blog_title>
  <blog_url>https://pianofisica.hatenablog.com/</blog_url>
  <categories>
    <anon>Python</anon>
    <anon>Python-応用</anon>
    <anon>Python-応用-数値計算</anon>
  </categories>
  <description>数学の具体的な計算にPythonを使って、数学もPythonも同時に学んでしまいましょう。今回はPythonを使って数値計算の桁落ちをみてみたいと思います。動作の確認はJupyterNotebookを用いた場合で行っています。インターフェイスなどの動作環境の違いによって適宜変更点があるかもしれません。 桁落ちの具体例 具体例：２次方程式 ２次方程式の数値解 桁落ちの具体例 このような計算で、 が非常に大きな数の場合（ここでは としましょう）計算精度に誤差が生じる場合があります。というのは、 と とがほとんど同じ値になってしまい import numpy as np s = np.sqrt((1…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fpianofisica.hatenablog.com%2Fentry%2F2020%2F09%2F04%2F163000&quot; title=&quot;Pythonで学ぶ数値計算のツボ（桁落ち） - pianofisica&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://cdn.blog.st-hatena.com/images/theme/og-image-1500.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2020-09-04 16:30:00</published>
  <title>Pythonで学ぶ数値計算のツボ（桁落ち）</title>
  <type>rich</type>
  <url>https://pianofisica.hatenablog.com/entry/2020/09/04/163000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
