斜率(2)
Author: 藍邦偉  老師

斜率(2)

.

A

B

,

任意移動A點觀察斜率

移動y軸上的A點觀察斜率

t = -0.6 (slider from -10 to 10, step 0.05)
u = Vector((x(Corner[1]), 0), (x(Corner[3]), 0))
v = Vector((0, y(Corner[1])), (0, y(Corner[3])))
B: (1, t)
A = Point(yAxis)
L_1 = Line(A, B)
H: (1, y(A))
c = Segment(A, H)
d = Segment(H, B)
b = true
C = (3.5, -1.12)
h = 1 (slider from -50 to 50, step 0.05)
E: (x(C) + 1, h)
L_2 = Line(E, C)
F: (x(E), y(C))
g = Segment(C, F)
h_1 = Segment(F, E)
i = false
text1: "m_{\overline{AB}}=" + (Slope[L_1])
text2: "m_{\overline{AB}}=" + (Slope[L_2])