test worksheet
Author: me

above text

below text

$\mathbf{b}$

$\mathbf{a}$

A = (2.736, 4.926)
C = (-0.85, 2.022)
B = (7.004, 0.262)
d = Line(B, C)
b = Vector(C, B)
perpendicular = OrthogonalLine(A, b)
α = Angle(B, C, A)
a = Vector(C, A)
D = Intersect(d, perpendicular)
c = Segment(A, D)
distanceBD = Distance(C, D)
distanceBC = Distance(C, A)
dp: Distance[C, A] * cos(α)
projection = Segment(C, D)
TextBD: "\frac{\mathbf{a}\cdot \mathbf{b}}{\|\mathbf{b}\|}=" + (LaTeX[dp]) + ""