正切與直線的斜率
Author: 藍邦偉  老師

θ

P(x,y)

正切與直線斜率

O: 0.5 * (Corner[1.0] + Corner[3.0])
u = Vector((x(Corner[1.0]), y(O)), (x(Corner[3.0]), y(O)))
v = Vector((x(O), y(Corner[1.0])), (x(O), y(Corner[3.0])))
θ = 1.8675022996339325 rad (slider from 0 to 6.283185307179586, step 0.017453292519943295)
a: y - y(O) = tan(θ) * (x - x(O))
A: O + (1.0, 0.0)
B: O + (cos(θ), sin(θ))
c = CircleArc(O, A, B)
P: O + (3.0 * cos(θ), 3.0 * sin(θ))
文字1: "斜率m= \frac{ y }{ x}=tanθ=" + (FractionText[Slope[a]])