2009 CGE

veure combinació

Combinació\,\, lineal\,\, a\,\, R^2

\vec{v}

\vec{v}

\vec{v_1}

\vec{v_2}

C = (6, -8)
A = (-6, -2)
v = Vector(A)
B = (6, -2)
u = Vector(B)
a = Line(B, u)
b = Line(A, v)
e = Line(C, v)
f = Line(C, u)
z = Vector((0.0, 0.0), Intersect[e, a])
h = Vector((0.0, 0.0), Intersect[b, f])
poly1, g, i, j, k = Polygon((0.0, 0.0), Intersect[a, e], Intersect[f, e], Intersect[f, b])
p = false
q: x(z / u)
w = Vector(C)
text1: "\vec{ v } \,= \, " + (FractionText[x(z / u)]) + " \, \vec{ v_1 }\," + (If[x(h / v) ≥ 0.0, "+", "-"]) + "\, " + (FractionText[abs(x(h / v))]) + " \, \vec{ v_2 }"
text9: FractionText[x(z / u)] + " \, \vec{ v_1 }"
text10: FractionText[x(h / v)] + " \, \vec{ v_2 }"