<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>uwitenpen</author_name>
  <author_url>https://blog.hatena.ne.jp/uwitenpen/</author_url>
  <blog_title>MugiCha</blog_title>
  <blog_url>https://uwitenpen.hatenadiary.org/</blog_url>
  <categories>
  </categories>
  <description>自機Sと、敵弾Bの衝突までの時間を求めたい。どちらも、座標と一定の半径(R_S, R_B)と一定速度or一定加速度を持っているものとする。S・Bが等加速度運動・等速運動・静止のどれかの運動をしていて、少なくとも一方が等加速度運動をしている場合、相対座標は時間tの2次式で書かれる。ユークリッド距離空間では、相対座標の2乗和つまり、 かつt&gt;=0を満たす最小解を求める。(精度は整数レベル) 精度が整数レベル、というのは、1ステップ(自機や敵弾の座標に速度を足す)を時間で1としているため。整数解で十分なのだ。 ここでKは2次元だと{x,y}, 3次元だと{x,y,z}といった感じ。t(t+1)/2と…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fuwitenpen.hatenadiary.org%2Fentry%2F20100509%2F1273400183&quot; title=&quot;等加速度系における、衝突までのステップ数計算 - MugiCha&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-ak.f.st-hatena.com/images/fotolife/u/uwitenpen/20100509/20100509183436.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2010-05-09 19:16:23</published>
  <title>等加速度系における、衝突までのステップ数計算</title>
  <type>rich</type>
  <url>https://uwitenpen.hatenadiary.org/entry/20100509/1273400183</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
