Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Maximilian Vitz
Lecture Statistics and Data Analysis
Commits
e6255e67
Commit
e6255e67
authored
Nov 09, 2021
by
Maximilian Vitz
Browse files
Updated Solution 3
parent
c5ba8877
Changes
1
Hide whitespace changes
Inline
Side-by-side
Week3/Solution3.ipynb
0 → 100644
View file @
e6255e67
%% Cell type:markdown id: tags:
### Error Propagation
%% Cell type:markdown id: tags:
1)
%% Cell type:markdown id: tags:
$a = 6.1
\p
m 0.1$ cm
%% Cell type:markdown id: tags:
$b = 2.8
\p
m 0.1$ cm
%% Cell type:markdown id: tags:
With 100% correlation one ends up with $
\r
ho = 1$.
%% Cell type:markdown id: tags:
$
\R
ightarrow
\t
ext{cov}(a,b) =
\r
ho
\s
igma_{a}
\s
igma_{b} =
\s
igma_{a}
\s
igma_{b}$
%% Cell type:markdown id: tags:
$
\s
igma_{f}^{2} =
\l
eft(
\f
rac{
\d
elta f}{
\d
elta a}
\r
ight)^{2}
\s
igma_{a}^{2} +
\l
eft(
\f
rac{
\d
elta f}{
\d
elta b}
\r
ight)^{2}
\s
igma_{b}^{2} + 2
\l
eft(
\f
rac{
\d
elta A}{
\d
elta a}
\r
ight)
\l
eft(
\f
rac{
\d
elta f}{
\d
elta b}
\r
ight)
\t
ext{cov}(a,b) =
\l
eft(
\f
rac{
\d
elta f}{
\d
elta a}
\r
ight)^{2}
\s
igma_{a}^{2} +
\l
eft(
\f
rac{
\d
elta f}{
\d
elta b}
\r
ight)^{2}
\s
igma_{b}^{2} + 2
\l
eft(
\f
rac{
\d
elta f}{
\d
elta a}
\r
ight)
\l
eft(
\f
rac{
\d
elta f}{
\d
elta b}
\r
ight)
\s
igma_{a}
\s
igma_{b} =
\l
eft(
\f
rac{
\d
elta f}{
\d
elta a}
\s
igma_{a} +
\f
rac{
\d
elta f}{
\d
elta b}
\s
igma_{b}
\r
ight)^{2}$
%% Cell type:markdown id: tags:
$f = A(a,b) = a
\c
dot b$
%% Cell type:markdown id: tags:
$
\R
ightarrow
\s
igma_{A} =
\f
rac{
\d
elta A}{
\d
elta a}
\s
igma_{a} +
\f
rac{
\d
elta A}{
\d
elta b}
\s
igma_{b} = b
\s
igma_{a} + a
\s
igma_{b} = 0.89
\t
ext{cm}^{2}$
%% Cell type:markdown id: tags:
$f = C(a,b) = 2a + 2b$
%% Cell type:markdown id: tags:
$
\R
ightarrow
\s
igma_{C} =
\f
rac{
\d
elta C}{
\d
elta a}
\s
igma_{a} +
\f
rac{
\d
elta C}{
\d
elta b}
\s
igma_{b} = 2
\s
igma_{a} + 2
\s
igma_{b} = 0.4
\t
ext{cm}$
%% Cell type:markdown id: tags:
2)
%% Cell type:markdown id: tags:
With 0% correlation one ends up with $
\r
ho = 0$.
%% Cell type:markdown id: tags:
$
\R
ightarrow
\t
ext{cov}(a,b) =
\r
ho
\s
igma_{a}
\s
igma_{b} = 0$
%% Cell type:markdown id: tags:
$
\s
igma_{f}^{2} =
\l
eft(
\f
rac{
\d
elta f}{
\d
elta a}
\r
ight)^{2}
\s
igma_{a}^{2} +
\l
eft(
\f
rac{
\d
elta f}{
\d
elta b}
\r
ight)^{2}
\s
igma_{b}^{2} + 2
\l
eft(
\f
rac{
\d
elta A}{
\d
elta a}
\r
ight)
\l
eft(
\f
rac{
\d
elta f}{
\d
elta b}
\r
ight)
\t
ext{cov}(a,b) =
\l
eft(
\f
rac{
\d
elta f}{
\d
elta a}
\r
ight)^{2}
\s
igma_{a}^{2} +
\l
eft(
\f
rac{
\d
elta f}{
\d
elta b}
\r
ight)^{2}
\s
igma_{b}^{2} $
%% Cell type:markdown id: tags:
$f = A(a,b) = a
\c
dot b$
%% Cell type:markdown id: tags:
$
\R
ightarrow
\s
igma_{A} =
\s
qrt{
\l
eft(
\f
rac{
\d
elta A}{
\d
elta a}
\r
ight)^{2}
\s
igma_{a}^{2} +
\l
eft(
\f
rac{
\d
elta A}{
\d
elta b}
\r
ight)^{2}
\s
igma_{b}^{2}} =
\s
qrt{b^{2}
\s
igma_{a}^{2} + a^{2}
\s
igma_{b}^{2}} = 0.67
\t
ext{cm}^{2}$
%% Cell type:markdown id: tags:
$f = C(a,b) = 2a + 2b$
%% Cell type:markdown id: tags:
$
\R
ightarrow
\s
igma_{C} =
\s
qrt{
\l
eft(
\f
rac{
\d
elta C}{
\d
elta a}
\r
ight)^{2}
\s
igma_{a}^{2} +
\l
eft(
\f
rac{
\d
elta C}{
\d
elta b}
\r
ight)^{2}
\s
igma_{b}^{2}} =
\s
qrt{4
\s
igma_{a}^{2} + 4
\s
igma_{b}^{2}} = 0.28
\t
ext{cm}$
%% Cell type:markdown id: tags:
3)
%% Cell type:markdown id: tags:
$
\l
eft(
\b
egin{array}{cc}
\s
igma_{A}^{2} &
\t
ext{cov}(A,C)
\\
\t
ext{cov}(A,C) &
\s
igma_{C}^{2}
\e
nd{array}
\r
ight) =
\l
eft(
\b
egin{array}{cc}
\f
rac{
\d
elta A}{
\d
elta a} &
\f
rac{
\d
elta A}{
\d
elta b}
\\
\f
rac{
\d
elta C}{
\d
elta a} &
\f
rac{
\d
elta C}{
\d
elta b}
\e
nd{array}
\r
ight)
\c
dot
\l
eft(
\b
egin{array}{cc}
\s
igma_{a}^{2} &
\t
ext{cov}(a,b)
\\
\t
ext{cov}(a,b) &
\s
igma_{b}^{2}
\e
nd{array}
\r
ight)
\c
dot
\l
eft(
\b
egin{array}{cc}
\f
rac{
\d
elta A}{
\d
elta a} &
\f
rac{
\d
elta C}{
\d
elta a}
\\
\f
rac{
\d
elta A}{
\d
elta b} &
\f
rac{
\d
elta C}{
\d
elta b}
\e
nd{array}
\r
ight) =
\l
eft(
\b
egin{array}{cc}
b & a
\\
2 & 2
\e
nd{array}
\r
ight)
\c
dot
\l
eft(
\b
egin{array}{cc}
\s
igma_{a}^{2} &
\t
ext{cov}(a,b)
\\
\t
ext{cov}(a,b) &
\s
igma_{b}^{2}
\e
nd{array}
\r
ight)
\c
dot
\l
eft(
\b
egin{array}{cc}
b & 2
\\
a & 2
\e
nd{array}
\r
ight)$
%% Cell type:markdown id: tags:
$
\R
ightarrow
\l
eft(
\b
egin{array}{cc}
\s
igma_{A}^{2} &
\t
ext{cov}(A,C)
\\
\t
ext{cov}(A,C) &
\s
igma_{C}^{2}
\e
nd{array}
\r
ight) =
\l
eft(
\b
egin{array}{cc}
\s
igma_{a}^{2} b^{2} +
\s
igma_{b}^{2} a^{2} + 2 a b
\t
ext{cov} (a,b) & 2 (b
\s
igma_{2}^2 + a
\s
igma_{b}^2 +
\t
ext{cov}(a,b)(a+b))
\\
2 (b
\s
igma_{2}^2 + a
\s
igma_{b}^2 +
\t
ext{cov}(a,b)(a+b)) & 4
\s
igma_{a}^2 + 4
\s
igma_{b}^2 + 8
\t
ext{cov}(a,b)
\e
nd{array}
\r
ight)$
%% Cell type:markdown id: tags:
$
\R
ightarrow
\t
ext{cov}(A,C) = 2 (b
\s
igma_{2}^2 + a
\s
igma_{b}^2 +
\t
ext{cov}(a,b)(a+b))$
%% Cell type:markdown id: tags:
$
\r
ho_{A,C} =
\f
rac{
\t
ext{cov}(A,C)}{
\s
igma_{A}
\s
igma_{C}}$
%% Cell type:markdown id: tags:
With 100% correlation one ends up with $
\r
ho_{a,b} = 1$, $
\s
igma_{a}=
\s
igma_{b}$.
%% Cell type:markdown id: tags:
$
\r
ho_{A,C} =
\f
rac{
\t
ext{cov}(A,C)}{
\s
igma_{A}
\s
igma_{C}} =
\f
rac{4(a+b)}{4(a+b)} = 1$
%% Cell type:markdown id: tags:
With 0% correlation one ends up with $
\r
ho_{a,b} = 0$, $
\s
igma_{a}=
\s
igma_{b}$.
%% Cell type:markdown id: tags:
$
\r
ho_{A,C} =
\f
rac{
\t
ext{cov}(A,C)}{
\s
igma_{A}
\s
igma_{C}} =
\f
rac{2(a+b)}{
\s
qrt{8(a^{2}+b^{2})}} = 0.938$
%% Cell type:markdown id: tags:
### Triangulation
%% Cell type:markdown id: tags:
1)
%% Cell type:markdown id: tags:
$l = 101.2$ m, $
\s
igma_{l} = 0.1$ m
%% Cell type:markdown id: tags:
$
\a
lpha = 87.4^{
\c
irc}$, $
\s
igma_{
\a
lpha} = 0.1^{
\c
irc}$
%% Cell type:markdown id: tags:
$
\b
eta = 87.8^{
\c
irc}$, $
\s
igma_{
\b
eta} = 0.1^{
\c
irc}$
%% Cell type:markdown id: tags:
$d =
\f
rac{l
\s
in{(
\a
lpha)}
\s
in{(
\b
eta)}}{
\s
in{(
\a
lpha +
\b
eta)}}$
%% Cell type:markdown id: tags:
$
\s
igma_{d}^{2} =
\s
igma_{
\a
lpha}^{2}
\l
eft( -
\f
rac{l
\s
in{(
\a
lpha)}
\s
in{(
\b
eta)}
\c
os{(
\a
lpha +
\b
eta)}}{
\s
in^{2}{(
\a
lpha +
\b
eta)}} +
\f
rac{l
\c
os{(
\a
lpha)}
\s
in{(
\b
eta)}}{
\s
in{(
\a
lpha +
\b
eta)}}
\r
ight)^{2} +
\s
igma_{
\b
eta}^{2}
\l
eft( -
\f
rac{l
\s
in{(
\a
lpha)}
\s
in{(
\b
eta)}
\c
os{(
\a
lpha +
\b
eta)}}{
\s
in^{2}{(
\a
lpha +
\b
eta)}} +
\f
rac{l
\s
in{(
\a
lpha)}
\c
os{(
\b
eta)}}{
\s
in{(
\a
lpha +
\b
eta)}}
\r
ight)^{2} +
\s
igma_{l}^{2}
\l
eft(
\f
rac{
\s
in{(
\a
lpha)}
\s
in{(
\b
eta)}}{
\s
in{(
\a
lpha +
\b
eta)}}
\r
ight)^{2}$
%% Cell type:markdown id: tags:
$
\R
ightarrow d =1207.36$ m, $
\s
igma_{d} = 35.63$ m
%% Cell type:markdown id: tags:
2)
%% Cell type:markdown id: tags:
Assuming $
\s
igma_{l} = 0$.
%% Cell type:markdown id: tags:
$
\R
ightarrow
\s
igma_{d}^{2} =
\s
igma_{
\a
lpha}^{2}
\l
eft( -
\f
rac{l
\s
in{(
\a
lpha)}
\s
in{(
\b
eta)}
\c
os{(
\a
lpha +
\b
eta)}}{
\s
in^{2}{(
\a
lpha +
\b
eta)}} +
\f
rac{l
\c
os{(
\a
lpha)}
\s
in{(
\b
eta)}}{
\s
in{(
\a
lpha +
\b
eta)}}
\r
ight)^{2} +
\s
igma_{
\b
eta}^{2}
\l
eft( -
\f
rac{l
\s
in{(
\a
lpha)}
\s
in{(
\b
eta)}
\c
os{(
\a
lpha +
\b
eta)}}{
\s
in^{2}{(
\a
lpha +
\b
eta)}} +
\f
rac{l
\s
in{(
\a
lpha)}
\c
os{(
\b
eta)}}{
\s
in{(
\a
lpha +
\b
eta)}}
\r
ight)^{2}$
%% Cell type:markdown id: tags:
$
\R
ightarrow
\s
igma_{d} = 36.61$ m
%% Cell type:markdown id: tags:
The error on the distance is dominated by the error on the angles.
%% Cell type:markdown id: tags:
3)
%% Cell type:markdown id: tags:
$
\a
lpha =
\b
eta$, $
\s
igma_{
\a
lpha} =
\s
igma_{
\b
eta} =
\s
igma$
%% Cell type:markdown id: tags:
$
\s
igma_{d}^{2} =
\s
igma_{
\a
lpha}^{2}
\l
eft( -
\f
rac{l
\s
in{(
\a
lpha)}
\s
in{(
\b
eta)}
\c
os{(
\a
lpha +
\b
eta)}}{
\s
in^{2}{(
\a
lpha +
\b
eta)}} +
\f
rac{l
\c
os{(
\a
lpha)}
\s
in{(
\b
eta)}}{
\s
in{(
\a
lpha +
\b
eta)}}
\r
ight)^{2} +
\s
igma_{
\b
eta}^{2}
\l
eft( -
\f
rac{l
\s
in{(
\a
lpha)}
\s
in{(
\b
eta)}
\c
os{(
\a
lpha +
\b
eta)}}{
\s
in^{2}{(
\a
lpha +
\b
eta)}} +
\f
rac{l
\s
in{(
\a
lpha)}
\c
os{(
\b
eta)}}{
\s
in{(
\a
lpha +
\b
eta)}}
\r
ight)^{2}$
%% Cell type:markdown id: tags:
$
\R
ightarrow
\s
igma_{d}^{2} = 2
\s
igma^{2} l^{2}
\l
eft(
\f
rac{-
\s
in{(
\a
lpha)}
\s
in{(
\a
lpha)}
\c
os{(2
\a
lpha)}}{
\s
in^{2}{(2
\a
lpha)}} +
\f
rac{
\c
os{(
\a
lpha)}
\s
in{(
\a
lpha)}}{
\s
in{(2
\a
lpha)}}
\r
ight)^{2} = 2
\s
igma^{2} l^{2}
\l
eft(
\f
rac{-
\s
in^{2}{(
\a
lpha)}
\c
os{(2
\a
lpha)} +
\c
os{(
\a
lpha)}
\s
in{(
\a
lpha)}
\s
in{(2
\a
lpha)}}{
\s
in^{2}{(2
\a
lpha)}}
\r
ight)^{2}$
%% Cell type:markdown id: tags:
Use: $
\h
space{0.5cm}$ $
\c
os(2
\a
lpha) =
\c
os^{2}{(
\a
lpha)} -
\s
in^{2}{(
\a
lpha)}$ $
\h
space{0.5cm}$ and $
\h
space{0.5cm}$ $
\s
in(2
\a
lpha) = 2
\s
in{(
\a
lpha)}
\c
os{(
\a
lpha)}$
%% Cell type:markdown id: tags:
$
\R
ightarrow
\s
igma_{d}^{2} = 2
\s
igma^{2} l^{2}
\l
eft(
\f
rac{-
\s
in^{2}{(
\a
lpha)}
\c
os^{2}{(
\a
lpha)} +
\s
in^{2}{(
\a
lpha)}
\s
in^{2}{(
\a
lpha)} + 2
\c
os^{2}{(
\a
lpha)}
\s
in^{2}{(
\a
lpha)}}{
\s
in^{2}{(2
\a
lpha)}}
\r
ight)^{2} = 2
\s
igma^{2} l^{2}
\l
eft(
\f
rac{
\s
in^{2}{(
\a
lpha)}
\c
dot [ -
\c
os^{2}{(
\a
lpha)} +
\s
in^{2}{(
\a
lpha)} + 2
\c
os^{2}{(
\a
lpha)} ]}{
\s
in^{2}{(2
\a
lpha)}}
\r
ight)^{2}= 2
\s
igma^{2} l^{2}
\l
eft(
\f
rac{
\s
in^{2}{(
\a
lpha)}
\c
dot [
\c
os^{2}{(
\a
lpha)} +
\s
in^{2}{(
\a
lpha)]} }{
\s
in^{2}{(2
\a
lpha)}}
\r
ight)^{2}$
%% Cell type:markdown id: tags:
Use: $
\h
space{0.5cm}$ $
\s
in(2
\a
lpha) = 2
\s
in{(
\a
lpha)}
\c
os{(
\a
lpha)}$
%% Cell type:markdown id: tags:
$
\R
ightarrow
\s
igma_{d}^{2} = 2
\s
igma^{2} l^{2}
\l
eft(
\f
rac{
\s
in^{2}{(
\a
lpha)}}{
\s
in^{2}{(2
\a
lpha)}}
\r
ight)^{2} = 2
\s
igma^{2} l^{2}
\l
eft(
\f
rac{
\s
in^{2}{(
\a
lpha)}}{4
\s
in^{2}{(
\a
lpha)}
\c
os^{2}{(
\a
lpha)}}
\r
ight)^{2} =
\f
rac{
\s
igma^{2} l^{2}}{8
\c
os^{4}{(
\a
lpha)}}$
%% Cell type:markdown id: tags:
$
\R
ightarrow
\s
igma_{d}
\a
pprox
\f
rac{
\s
igma l}{
\s
qrt{8} }
\f
rac{(l/2)^{2} + d}{(l/2)^{2}}
\a
pprox
\f
rac{
\s
igma l}{
\s
qrt{8} }
\f
rac{4 d^{2}}{l^{2}} =
\s
qrt{2}
\s
igma
\f
rac{d^{2}}{l}$
%% Cell type:code id: tags:
```
python
```
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment