First, I made a small correction to post #4.
I'll post the output of the program that computes Sr.
r₁
Code:
[1.; 2.; 3.; 4.; 5.; 6.; 0.; 3.; 3.; 0.; 0.; 0.; 1.; 1.]
r₂
Code:
[4.; 0.; 3.; 0.; 0.; 0.; 1.; 2.; 3.; 5.; 6.; 7.; 8.; 9.]
r₁ + r₂
Code:
[5.; 2.; 6.; 4.; 5.; 6.; 1.; 5.; 6.; 5.; 6.; 7.; 9.; 10.]
r₁ - r₂
Code:
[-3.; 2.; 0.; 4.; 5.; 6.; -1.; 1.; 0.; -5.; -6.; -7.; -7.; -8.]
Squares of elements of r₁ + r₂
Code:
[25.; 4.; 36.; 16.; 25.; 36.; 1.; 25.; 36.; 25.; 36.; 49.; 81.; 100.]
Squares of elements of r₁ - r₂
Code:
[9.; 4.; 0.; 16.; 25.; 36.; 1.; 1.; 0.; 25.; 36.; 49.; 49.; 64.]
Sum of squares of elements of r₁ + r₂ is 495
Sum of squares of elements of r₁ - r₂ is 315
||r₁ + r₂|| = sqrt(495) = 22.248595461286989
||r₁ - r₂|| = sqrt(315) = 17.7482393492988493
||r₁ - r₂|| / ||r₁ + r₂|| = 0.79772403521746571
1 - ||r₁ - r₂|| / ||r₁ + r₂|| = 0.20227596478253429