タグ

Mathに関するpiayoのブックマーク (3)

  • Floating Point Math

    Floating Point Math Your language isn’t broken, it’s doing floating point math. Computers can only natively store integers, so they need some way of representing decimal numbers. This representation is not perfectly accurate. This is why, more often than not, 0.1 + 0.2 != 0.3. Why does this happen? It’s actually rather interesting. When you have a base-10 system (like ours), it can only express fr

  • いろんな平均たちの関係を『たった1つの円』で可視化してみる

    こんにちは,学生エンジニアの迫佑樹(@yuki_99_s)です. 高校2年生で習う数学の1つに,『相加相乗平均』の関係というものがあります. 初めて「平均」という単語が出て来たのは小学校の時でした. あの頃は,単純に総和を求めて,個数で割ってあげたものを『平均』と呼んでいましたね 高校ではそれを,『相加平均』と呼んでいます. さて,わざわざ『平均』を『相加平均』に言い方を変えたということは,なにかあるはずです. ここでもう1つ現れる平均が『相乗平均』と呼ばれるもの 相乗平均の例として出した今回の問題をみても分かるように,縦と横の長さが異なるものを均一化しようとしているので,これも一種の平均なわけです. 整理すると,aとbの相加平均及び相乗平均はこのようになります. 先ほど,4と9の相加平均は6.5で,4と9の相乗平均は6となっていたように,『相加平均は常に相乗平均以上である』というのが『相

    いろんな平均たちの関係を『たった1つの円』で可視化してみる
  • Voronoi diagram - Wikipedia

    20 points and their Voronoi cells (larger version below) In mathematics, a Voronoi diagram is a partition of a plane into regions close to each of a given set of objects. It can be classified also as a tessellation. In the simplest case, these objects are just finitely many points in the plane (called seeds, sites, or generators). For each seed there is a corresponding region, called a Voronoi cel

    Voronoi diagram - Wikipedia
    piayo
    piayo 2013/10/03
  • 1