\text{\textcolor{Blue}{Smernicový tvar priamky} }\textcolor{Red}{\boldsymbol{y=kx+q}

$\math {A}$

$\math {B}$

$\math {y=kx+q}$

\text{Priamka }y=\overleftrightarrow{AB}

\text{Priesečník }P∈a_x \; ∩ \; b_y; \;  \;( a_x∥x, \; b_y∥y)

$a_x$

$b_y$

$Q$

A = (-6, -4)
B = (4, 6)
text2: "\text{Zvoľme si dva rôzne body }A\left [ x_a,y_a \right ]=" + (LaTeX[A]) + " ,B\left [ x_b,y_b \right ]=" + (LaTeX[B]) + " "
f = Line(A, B)
a_x = Line(A, xAxis)
b_y = Line(B, yAxis)
P = Intersect(a_x, b_y)
t1, b, a, p = Polygon(A, P, B)
α = Angle(P, A, B)
text7: " \text{Orientovaný uhol  } α=∡\widehat{PAB}=" + (LaTeX[α]) + ""
k = Slope(f)
text6: "\text{Smernica }\blue k=tg \: α=\frac{y_b-y_a}{x_b-x_a}=\blue { " + (LaTeX[k]) + "}"
Q = Intersect(f, yAxis)
text9: "\text{Priesečník }Q\left [x_q= 0,y_q \right ]=" + (LaTeX[Q]) + " ∈o_y \; ∩ \; y"
q: y(Q)
text8: "\text{Úsek, ktorý vytína priamka na osi }o_y: q=y_q=" + (LaTeX[q]) + ""
text10: "\text{Rovnica piamky }" + (LaTeX[f]) + ""