année

tonne-km

modèle affine

carrés des écarts

Faire apparaître les écarts entre les mesures et le modèle

somme

A2 = 1990
B2 = 137
A3 = 1991
B3 = 139.8
A4 = 1992
B4 = 142.9
A5 = 1993
B5 = 137.5
A6 = 1994
B6 = 145.4
A7 = 1995
B7 = 157.1
A8 = 1996
B8 = 158.2
A9 = 1997
B9 = 160.2
A10 = 1998
B10 = 167
A11 = 1999
B11 = 181.6
A12 = 2000
B12 = 183.7
A13 = 2001
B13 = 188.5
A14 = 2002
B14 = 188.1
A15 = 2003
B15 = 188.9
A16 = 2004
B16 = 197
A17 = 2005
B17 = 192.9
A18 = 2006
B18 = 198.5
A19 = 2007
B19 = 206.7
P_1: (A2, B2)
P_2: (A3, B3)
P_3: (A4, B4)
P_4: (A5, B5)
P_5: (A6, B6)
P_6: (A7, B7)
P_7: (A8, B8)
P_8: (A9, B9)
P_9: (A10, B10)
P_{10}: (A11, B11)
P_{11}: (A12, B12)
P_{12}: (A13, B13)
P_{13}: (A14, B14)
P_{14}: (A15, B15)
P_{15}: (A16, B16)
P_{16}: (A17, B17)
P_{17}: (A18, B18)
P_{18}: (A19, B19)
A = (1989.880380710373, 45.9373224078347)
B = (2005.2172557274753, 149.0514682103522)
modèle = Line(A, B)
b_2 = OrthogonalLine(P_1, xAxis)
c = OrthogonalLine(P_2, xAxis)
d = OrthogonalLine(P_3, xAxis)
C = Intersect(b_2, modèle)
D = Intersect(c, modèle)
E = Intersect(d, modèle)
distanceP1C = Distance(P_1, C)
TexteP1C: Name[P_1] + (Name[C]) + " \, = \, " + distanceP1C
C2: distanceP1C^(2)
e = OrthogonalLine(P_4, xAxis)
f = OrthogonalLine(P_5, xAxis)
g = OrthogonalLine(P_6, xAxis)
h = OrthogonalLine(P_7, xAxis)
i = OrthogonalLine(P_8, xAxis)
j = OrthogonalLine(P_9, xAxis)
k = OrthogonalLine(P_{10}, xAxis)
l = OrthogonalLine(P_{11}, xAxis)
m = OrthogonalLine(P_{12}, xAxis)
n = OrthogonalLine(P_{13}, xAxis)
p = OrthogonalLine(P_{14}, xAxis)
q = OrthogonalLine(P_{15}, xAxis)
r = OrthogonalLine(P_{16}, xAxis)
s = OrthogonalLine(P_{17}, xAxis)
t = OrthogonalLine(P_{18}, xAxis)
F = Intersect(e, modèle)
G_1 = Intersect(f, modèle)
H = Intersect(g, modèle)
I = Intersect(h, modèle)
J = Intersect(i, modèle)
K = Intersect(j, modèle)
L = Intersect(k, modèle)
M = Intersect(l, modèle)
N = Intersect(m, modèle)
O = Intersect(n, modèle)
P = Intersect(p, modèle)
Q = Intersect(q, modèle)
R = Intersect(r, modèle)
S = Intersect(s, modèle)
T = Intersect(t, modèle)
distanceP2D = Distance(P_2, D)
TexteP2D: Name[P_2] + (Name[D]) + " \, = \, " + distanceP2D
distanceP3E = Distance(P_3, E)
TexteP3E: Name[P_3] + (Name[E]) + " \, = \, " + distanceP3E
distanceP4F = Distance(P_4, F)
TexteP4F: Name[P_4] + (Name[F]) + " \, = \, " + distanceP4F
distanceP5G = Distance(P_5, G_1)
TexteP5G: Name[P_5] + (Name[G_1]) + " \, = \, " + distanceP5G
distanceP6H = Distance(P_6, H)
TexteP6H: Name[P_6] + (Name[H]) + " \, = \, " + distanceP6H
distanceP7I = Distance(P_7, I)
TexteP7I: Name[P_7] + (Name[I]) + " \, = \, " + distanceP7I
distanceP8J = Distance(P_8, J)
TexteP8J: Name[P_8] + (Name[J]) + " \, = \, " + distanceP8J
distanceP9K = Distance(P_9, K)
TexteP9K: Name[P_9] + (Name[K]) + " \, = \, " + distanceP9K
distanceP{18}T = Distance(P_{18}, T)
distanceP{17}S = Distance(P_{17}, S)
u = Distance(P_{17}, S)
TexteP{17}S: Name[P_{17}] + (Name[S]) + " \, = \, " + u
distanceP{16}R = Distance(P_{16}, R)
v = Distance(P_{16}, R)
TexteP{16}R: Name[P_{16}] + (Name[R]) + " \, = \, " + v
distanceP{15}Q = Distance(P_{15}, Q)
distanceQP{15} = Distance(Q, P_{15})
w = Distance(P_{15}, Q)
TexteP{15}Q: Name[P_{15}] + (Name[Q]) + " \, = \, " + w
distanceP{14}P = Distance(P_{14}, P)
z = Distance(P_{14}, P)
TexteP{14}P: Name[P_{14}] + (Name[P]) + " \, = \, " + z
distanceP{13}O = Distance(P_{13}, O)
distanceP{12}N = Distance(P_{12}, N)
distanceP{11}M = Distance(P_{11}, M)
distanceP{10}L = Distance(P_{10}, L)
C3: distanceP2D^(2)
C4: distanceP3E^(2)
C5: distanceP4F^(2)
C6: distanceP5G^(2)
C7: distanceP6H^(2)
C8: distanceP7I^(2)
C9: distanceP8J^(2)
C10: distanceP9K^(2)
C11: Distance[P_{10}, L]^(2)
C12: Distance[P_{11}, M]^(2)
C13: Distance[P_{12}, N]^(2)
C14: Distance[P_{13}, O]^(2)
C15: Distance[P_{14}, P]^(2)
C16: Distance[P_{15}, Q]^(2)
C17: Distance[P_{16}, R]^(2)
C18: Distance[P_{17}, S]^(2)
C19: Distance[P_{18}, T]^(2)
C20 = Sum(C2:C19)
a = Segment(P_1, C)
b = Segment(P_2, D)
a_1 = Segment(P_3, E)
b_1 = Segment(P_4, F)
c_1 = Segment(P_5, G_1)
d_1 = Segment(P_6, H)
e_1 = Segment(P_7, I)
f_1 = Segment(P_8, J)
g_1 = Segment(P_9, K)
h_1 = Segment(P_{10}, L)
i_1 = Segment(P_{11}, M)
j_1 = Segment(P_{12}, N)
k_1 = Segment(P_{13}, O)
l_1 = Segment(P_{14}, P)
m_1 = Segment(P_{15}, Q)
n_1 = Segment(P_{16}, R)
p_1 = Segment(P_{17}, S)
q_1 = Segment(P_{18}, T)
o = false