>>286
HはAP上にあるから
h↑ = t a↑ + (1-t) p↑ = p↑ + t (p↑-a↑)
と表せる。
h↑・(p↑-a↑) = 0
だから
p↑・(p↑-a↑) + t |p↑-a↑|^2 = 0
|p↑-a↑|^2 = 1より

t = p↑・(a↑-p↑)