- 664 名前:132人目の素数さん mailto:sage [2023/07/14(金) 22:00:20.73 ID:hM3zmXSl.net]
- 三角形に九点円というのがあるという。
https://upload.wikimedia.org/wikipedia/commons/thumb/5/5f/Triangle.NinePointCircle.svg/330px-Triangle.NinePointCircle.svg.png https://ja.wikipedia.org/wiki/%E4%B9%9D%E7%82%B9%E5%86%86 https://manabitimes.jp/math/690 問題 三角形の頂点の座標をP1(x1,y1),P2(x2,y2),P3(x3,y3)とする。 九点円の座標を求めよ。 他でも使えるように関数化して保存しておこう。 動作確認 >631の三角形だと > nine_point_circle(3.375,4.960784,0,0,4,0) $Center [1] 2.687500 1.346499 $Radius [1] 1.511858 https://i.imgur.com/DguAQ7V.png
|

|