θ

\theta

$\displaystyle \frac{\vec u \cdot \vec v}{\|\vec u\| \|\vec v\|}$

1

-1

π/2

π

0

A = Intersect(xAxis, yAxis)
B = (1, 2)
C = (-1, 1)
u = Vector(A, C)
v = Vector(A, B)
a: x(B) * x(C) + y(B) * y(C)
u1: x(C)
u2: y(C)
v1: x(B)
v2: y(B)
texto1: "Produto escalar :
$\vec u \cdot \vec v = (" + (LaTeX[u1]) + ")\times(" + (LaTeX[v1]) + ")+(" + (LaTeX[u2]) + ")\times(" + (LaTeX[v2]) + ") = " + (LaTeX[a]) + "$"
θ = Angle(v, u)
D = (2.4, 2.58)
b = Line(D, xAxis)
E = (6.66, 1.98)
c = Line(E, yAxis)
F = Intersect(b, c)
e = CurveCartesian(x(F) + t, y(F) + cos(t), t, 0, 3.141592653589793)
G = (5.4, 4.76)
H = (5.4, 1.3)
I = (10.96, 1.3)
J = (10.96, 4.76)
polígono1, g, h, i, j = Polygon(G, H, I, J)
d = Segment(G, H)
f = Segment(J, I)
k = Segment(I, H)
l = Segment(G, J)
K = Intersect(b, d)
L = Intersect(b, f)
M = Intersect(c, l)
N = Intersect(c, k)
w = Vector(K, L)
z = Vector(N, M)
O = Point(e)
m = OrthogonalLine(O, w)
P = Intersect(b, m)
n = Segment(O, P)
Q = Point(e)
p = OrthogonalLine(Q, w)
q = OrthogonalLine(Q, z)
R = Intersect(c, q)
S = Intersect(b, p)
r = Segment(R, Q)
s = Segment(Q, S)
t = Line(O, b)
T = Intersect(c, t)
a_1 = Segment(T, O)
texto2: "Ângulo entre $\vec u$ e $\vec v$:
$\theta=∡(\vec u, \vec v) =" + (LaTeX[θ]) + ""