x

y

다음문제

단계상승

단계하락

다음

이전

\mathrm{O}

처음

완료

y=ax+b

y_2 = 0
x_2 = 5
y_1 = 5
x_1 = -4
F: (x_1, y_1)
A: (-10, 0)
B: (10, 0)
C: (0, -10)
D: (0, 10)
u = Vector(A, B)
v = Vector(C, D)
I: (x_2, y_2)
G: (x(I), y(F))
g = Segment(F, G)
h = Segment(G, I)
텍스트4: "" + (LaTeX[F]) + "\ ,  \ " + (LaTeX[I]) + ""
max = 5
텍스트3: "" + max + "단계"
ggcd = GCD(x_2 - x_1, y_2 - y_1)
m: (x_2 - x_1) / ggcd
n: (y_2 - y_1) / ggcd
mn: (-n)
f = If(x_1 ≟ x_2, CurveCartesian[x_1, u_1, u_1, -10, 10], CurveCartesian[u_1, ((y_2 - y_1) / (x_2 - x_1) * u_1) + y_1 - ((y_2 - y_1) / (x_2 - x_1) * x_1), u_1, Max[((x_2 - x_1) / (y_2 - y_1) * ((-y_1) + ((y_2 - y_1) / (x_2 - x_1) * x_1) - 10)), -10], Min[((x_2 - x_1) / (y_2 - y_1) * ((-y_1) + ((y_2 - y_1) / (x_2 - x_1) * x_1) + 10)), 10]])
F_1: (x_1, y_1)
I_1: (x_2, y_2)
f_1 = If(x_1 ≟ x_2, CurveCartesian[x_1, u_1, u_1, -10, 10], CurveCartesian[u_1, ((y_2 - y_1) / (x_2 - x_1) * u_1) + y_1 - ((y_2 - y_1) / (x_2 - x_1) * x_1), u_1, Max[((x_2 - x_1) / (y_2 - y_1) * ((-y_1) + ((y_2 - y_1) / (x_2 - x_1) * x_1) + 10)), -10], Min[((x_2 - x_1) / (y_2 - y_1) * ((-y_1) + ((y_2 - y_1) / (x_2 - x_1) * x_1) - 10)), 10]])
b: y_1 - ((y_2 - y_1) / (x_2 - x_1) * x_1)
텍스트5_4: "" + (LaTeX[y_1]) + "=" + (LaTeX[If[m ≟ 1, (n * ""), If[n > 0, (((("\frac{" * n) * "}{") * m) * "}"), (((("-\frac{" * mn) * "}{") * m) * "}")]]]) + "\times " + (LaTeX[If[x_1 < 0, (("(" * x_1) * ")"), ("" * x_1)]]) + "+b"
b_3: (y_1 * x_2) - (y_2 * x_1)
b_4: x_2 - x_1
ggcdb = GCD(b_3, b_4)
b_5: b_3 / ggcdb
b_6: b_4 / ggcdb
nb_5: (-b_5)
텍스트5: "b=" + (LaTeX[If[b_6 ≟ 1, (b_5 * ""), If[b_5 > 0, (((("\frac{" * b_5) * "}{") * b_6) * "}"), (((("-\frac{" * nb_5) * "}{") * b_6) * "}")]]]) + ""
텍스트5_3: " y=" + (LaTeX[If[m ≟ 1, If[n^(2) ≟ 1, If[n ≟ 1, "", "-"], (n * "")], If[n > 0, (((("\frac{" * n) * "}{") * m) * "}"), (((("-\frac{" * mn) * "}{") * m) * "}")]]]) + " x+b"
F_2: (x_1, y_1)
I_2: (x_2, y_2)
ggcd_1 = GCD(x_2 - x_1, y_2 - y_1)
m_1: (x_2 - x_1) / ggcd_1
n_1: (y_2 - y_1) / ggcd_1
mn_1: (-n_1)
F_3: (x_1, y_1)
I_3: (x_2, y_2)
b_1: y_1 - ((y_2 - y_1) / (x_2 - x_1) * x_1)
b_2: (y_1 * x_2) - (y_2 * x_1)
b_7: x_2 - x_1
텍스트5_5: "\therefore y=" + (LaTeX[If[m_1 ≟ 1, If[n_1^(2) ≟ 1, If[n_1 ≟ 1, "", "-"], (n_1 * "")], If[n_1 > 0, (((("\frac{" * n_1) * "}{") * m_1) * "}"), (((("-\frac{" * mn_1) * "}{") * m_1) * "}")]]]) + " 
x" + (LaTeX[If[b > 0, "+", ""]]) + "" + (LaTeX[If[b_5 ≟ 0, "", If[b_6 ≟ 1, (b_5 * ""), If[b_5 > 0, (((("\frac{" * b_5) * "}{") * b_6) * "}"), (((("-\frac{" * nb_5) * "}{") * b_6) * "}")]]]]) + ""
t = 11
텍스트5_2: "a=\frac{" + (LaTeX[y_2]) + "-" + (LaTeX[If[y_1 < 0, (("(" * y_1) * ")"), ("" * y_1)]]) + "}{" + (LaTeX[x_2]) + "-" + (LaTeX[If[x_1 < 0, (("(" * x_1) * ")"), ("" * x_1)]]) + "}=\frac{" + (LaTeX[y_2 - y_1]) + "}{" + (LaTeX[x_2 - x_1]) + "}
=" + (LaTeX[If[m ≟ 1, (n * ""), If[n > 0, (((("\frac{" * n) * "}{") * m) * "}"), (((("-\frac{" * mn) * "}{") * m) * "}")]]]) + ""