0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

大人用「筑波大附属高校 AD=?」様を、計算はsympyで作図は手抜きです。

0
Last updated at Posted at 2026-06-05

・久しぶりに高校入試数学です。
・いつもの方法です。②省略 FreeCAD作図を忘れてしまいました。ChatGPT先生へ。です。
・web上のsympy Liveで。??? >ぜひともやってみて下さい。それでは。

オリジナル

YUUU0123 様 (0:00〜5:26) いつもお世話になっております。
↓筑波大附属高校 AD=?
https://youtu.be/Dmbso2AF5EA

sympyで(オリジナル Youtbe様の方法を参考に)

ver0.1

・先生の板書の丸写しです。図形の証明は省略です。勉強中です。

from sympy import *
var('x',positive=True)
MO=sqrt(sqrt(21)**2-3**2)  #;print(MO)
print("#",solve(Eq(MO/6,sqrt(21)/x),x)[0])
# 3*sqrt(7)

ver0.2

・無理すれば

from sympy import *
var('x',positive=True)
print("#",solve(Eq(sqrt(sqrt(21)**2-3**2)/6,sqrt(21)/x),x)[0])
# 3*sqrt(7)

・WolframAlpha で

sympyで(いつもの座標の方法で) 

ver1.1

・何が何でも,3元連立方程式です。条件3つ。デキルハズ。(???専門用語で境界条件3つ)
 作図しやすいので、私はいつものコレ。
・B点を原点です。

# ver1.1
from sympy import *
var('Ax,Ay,Dx',positive=True)
B,A,D=map(Point,[(0,0),(Ax,Ay),(Dx,0)])
sol=solve([Eq(Dx-Ax,6),
           Eq(B.distance(A),6),
           Eq(Triangle(B,D,A).circumradius,sqrt(21))],
          [Ax,Ay,Dx])    # ;print("#",sol)
print("#",A.subs({Ax:sol[0][0],Ay:sol[0][1]})
          .distance(
          D.subs({Dx:sol[0][2]})))
# 3*sqrt(7)

いつもの自力??? FreeCADのマクロで作図

・今回省略

(本日の)ChatGPT先生へ

・作図は手抜きです。

以下を作図して下さい。
(ver1.1の表示省略)

image.png

いつもの? sympyの実行環境と 参考のおすすめです。

sympyのweb上での実行方法

SymPy Live Shellで。FreeCADのマクロは、以下で実行できません。

(テンプレート)

いつもと違うおすすめです。

sympy のdoc

ver0.1

ver0.2

ver1.1

・property circumradius < Triangle

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?