<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>obelisk2</author_name>
  <author_url>https://blog.hatena.ne.jp/obelisk2/</author_url>
  <blog_title>Camera Obscura</blog_title>
  <blog_url>https://obelisk.hatenablog.com/</blog_url>
  <categories>
    <anon>Ruby</anon>
    <anon>物理</anon>
  </categories>
  <description>4次のルンゲ−クッタ法の練習としてやってみました。斜方投射（斜め上にものを投げるということです）じゃ全然威力を発揮しないのですが、とりあえず動くかどうかだけ確かめました。描画は gnuplot でやっています。 runge_kutta_sample1.rb require 'numo/gnuplot' require 'matrix' def runge_kutta(f, dt, x, v, t, m) #x, v は Vector, f[x, v, t] は Vector を返す k1 = v * dt l1 = f[x, v, t] * dt / m k2 = (v + l1 / 2) *…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fobelisk.hatenablog.com%2Fentry%2F2017%2F09%2F22%2F104953&quot; title=&quot;斜方投射の数値計算と描画（Ruby） - Camera Obscura&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://img.f.hatena.ne.jp/images/fotolife/o/obelisk2/20170922/20170922104510.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2017-09-22 10:49:53</published>
  <title>斜方投射の数値計算と描画（Ruby）</title>
  <type>rich</type>
  <url>https://obelisk.hatenablog.com/entry/2017/09/22/104953</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
