<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>seinzumtode</author_name>
  <author_url>https://blog.hatena.ne.jp/seinzumtode/</author_url>
  <blog_title>how to code something</blog_title>
  <blog_url>https://seinzumtode.hatenadiary.jp/</blog_url>
  <categories>
  </categories>
  <description>カルダノの方法によって、解は =-2.637834253 =1.6810829-3.0504302i =-1.6810829‐ +3.0504302iマラー法に比べて実装がかなり簡単だった。 精度も問題なさそうなので、まず割線法の利用を考えた方が良さそう。 clear; close all; f = @(x) x^3+6*x^2+21*x+32; buf=20; x=zeros(1,buf); x(1)=0; x(2)=-1; k=2; res=1e4; delta=1e-8; while res&gt;delta x(k+1) = (x(k)*f(x(k-1))-x(k-1)*f(x(k)))/.…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fseinzumtode.hatenadiary.jp%2Fentry%2F2020%2F05%2F19%2F100502&quot; title=&quot;割線法による3次方程式の解の数値計算 - how to code something&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://chart.apis.google.com/chart?cht=tx&amp;chl=%20x%5E3%2B6x%5E2%2B21x%2B32%3D0</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2020-05-19 10:05:02</published>
  <title>割線法による3次方程式の解の数値計算</title>
  <type>rich</type>
  <url>https://seinzumtode.hatenadiary.jp/entry/2020/05/19/100502</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
