-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdatoru_tikli.tex
132 lines (115 loc) · 3.44 KB
/
datoru_tikli.tex
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
\section{Datoru tikli I}
Guntars Bārzdińš \\
guntis@latnet.lv \\
331 kab.
\begin{center}
\begin{tabular}{ l | l | l }
Starpprocexxoru attalums & Location type & Network type\\
\hline
0.1m & Board \\
1m & System & LAN\\
10m & Room & LAN\\
100m & Building & LAN (Local Area Network)\\
1000m & Campus & MAN\\
10km & City & MAN (Metropolitan Area Netpwork)\\
100km & Country & WAN (Wide Area Netpwork)\\
1000km & Continent& WAN \\
10000km& Planet & WAN \\
\end{tabular}
\end{center}
\term{LAN} -- Local Area Network.
Atrumi: (1Gbps, 10Gbps, 100Gbps).
Attalums: vitais paris - 200m, optiskais -- 40-70km.
\\
\term{MAN} -- Metropolitan Area Netpwork.
Galvena atškirība no LAN: ātrums, \underline{kam pieder}, izmaksas.
Datoru tikls sastāv no: dators un marsrutezators (router) + sakaru kanāli.
Sakaru kanālu tipi:
\begin{enumerate}
\item point-to-point
\item broadcast
\end{enumerate}
Tīklu topologijas. (Klasiskas ir zvaignze un rinkins)
ISO -- International Standarts Organisation
OSI - Open System Interconnection
\begin{center}
\begin{tabular}{ r | l }
\hline
Application & Lietojuma līmenis\\
Presentation& Datu reprezentācijas līmenis (kura formata jpeg/mp3/txt etc\\
Session & Sessijas līmenis \\
Transport & Transporta līmenis -- nočeko ka visas paketas
kuram vajadzeja nosutities atnaca. Un parbauda ka fails bija tieks parsutits bez kludam.\\
Network & Tīkla līmenis (point-to-point) uzradas adresācija.
Kam un ko atsutit. Vienīgais liīmenis kur nav iluzijas par to
ka connection ir peer-to-peer. Tas ir layers kur tiesi sazinas
2 datori. \\
DataLink & Kanala līmenis (griež datus paketos), ar check summam\\
Physical & Fiziskais līmenis (biti) \\
\end{tabular}
\end{center}
\term{SAP} -- Service Access Point, sanem datu paketes un suta talak vai pieprasa datus velreiz.
Nodrosina sakaru starp layeriem.
\subsection{Majas darbs I}
\subsubsection{Fourier Analysis}
name: kaRina \\
R in ascii 01010010\\
$$f(t) = \frac{c}{2} +
\sum_{n=1}^{\infty}a_n cos(\frac{2 \pi n t}{T}) +
\sum_{n=1}^{\infty}b_n sin(\frac{2 \pi n t}{T})$$,
where
$a_n=\frac{2}{T} \int_0^T f(t) cos (\frac{2 \pi n t}{T})dt $ and
$b_n=\frac{2}{T} \int_0^T f(t) sin (\frac{2 \pi n t}{T})dt $
$$c = \frac{3}{4}$$
$$a_n = \frac{1}{\pi n } \bigg[
sin(\frac{2 \pi n}{4}) -
sin(\frac{\pi n}{4}) +
sin(\frac{4 \pi n}{4}) -
sin(\frac{3 \pi n}{4}) +
sin(\frac{7 \pi n}{4}) -
sin(\frac{6 \pi n}{4})
\bigg]
$$
$$b_n = \frac{1}{\pi n } \bigg[
cos(\frac{\pi n}{4}) -
cos(\frac{2 \pi n}{4}) +
cos(\frac{3 \pi n}{4}) -
cos(\frac{4 \pi n}{4}) +
cos(\frac{6 \pi n}{4}) -
cos(\frac{7 \pi n}{4})
\bigg]
$$
\begin{center}
\begin{tabular}{ c | c | c }
harmonika ($n$) & $a_n$ & $b_n$\\
\hline
1 &
$\frac{4 - 3 \sqrt{2}}{2 \pi}$ &
$\frac{2 - \sqrt{2}}{2 \pi} $ \\
2 &
$-\frac{1}{2\pi}$ &
$-\frac{1}{2\pi}$ \\
3 &
$\frac{-4 - 3 \sqrt{2}}{6 \pi}$ &
$\frac{2 + \sqrt{2}}{6 \pi}$ \\
4 &
0 &
$-\frac{1}{2 \pi}$ \\
5 &
$\frac{4 + 3 \sqrt{2}}{10 \pi}$ &
$\frac{2 + \sqrt{2}}{10 \pi}$ \\
6 &
$\frac{1}{6 \pi}$ &
$-\frac{1}{6 \pi}$ \\
7 &
$\frac{3 \sqrt{2} - 4}{14 \pi}$ &
$ \frac{2 - \sqrt{2}}{14 \pi} $ \\
8 & 0 & 0\\
9 &
$\frac{4 - 3 \sqrt{2}}{18 \pi}$ &
$\frac{2 - \sqrt{2}}{18 \pi} $ \\
10&
$ -\frac{1}{10 \pi}$ &
$ -\frac{1}{10 \pi }$ \\
\end{tabular}
\end{center}