summaryrefslogtreecommitdiffstats
path: root/fiz/vaje/9
diff options
context:
space:
mode:
authorAnton Luka Šijanec <anton@sijanec.eu>2023-03-20 23:40:22 +0100
committerAnton Luka Šijanec <anton@sijanec.eu>2023-03-20 23:40:22 +0100
commit665e0bddaea855613d12c79b35e8988d8155b8d3 (patch)
tree4ce950f99fb2bc0f6b80c39d19f33c6103355d79 /fiz/vaje/9
parentnempredst, fiz, hpcalc, etc... (diff)
downloadsola-gimb-4-665e0bddaea855613d12c79b35e8988d8155b8d3.tar
sola-gimb-4-665e0bddaea855613d12c79b35e8988d8155b8d3.tar.gz
sola-gimb-4-665e0bddaea855613d12c79b35e8988d8155b8d3.tar.bz2
sola-gimb-4-665e0bddaea855613d12c79b35e8988d8155b8d3.tar.lz
sola-gimb-4-665e0bddaea855613d12c79b35e8988d8155b8d3.tar.xz
sola-gimb-4-665e0bddaea855613d12c79b35e8988d8155b8d3.tar.zst
sola-gimb-4-665e0bddaea855613d12c79b35e8988d8155b8d3.zip
Diffstat (limited to 'fiz/vaje/9')
-rw-r--r--fiz/vaje/9/.gitignore1
-rw-r--r--fiz/vaje/9/dokument.lyx279
2 files changed, 152 insertions, 128 deletions
diff --git a/fiz/vaje/9/.gitignore b/fiz/vaje/9/.gitignore
index afed073..3d28b33 100644
--- a/fiz/vaje/9/.gitignore
+++ b/fiz/vaje/9/.gitignore
@@ -1 +1,2 @@
*.csv
+podatki.lyx
diff --git a/fiz/vaje/9/dokument.lyx b/fiz/vaje/9/dokument.lyx
index 7cea21d..a6d81ba 100644
--- a/fiz/vaje/9/dokument.lyx
+++ b/fiz/vaje/9/dokument.lyx
@@ -102,7 +102,7 @@ Anton Luka Šijanec
\end_layout
\begin_layout Date
-12.
+20.
marec 2023
\end_layout
@@ -115,16 +115,7 @@ F41
letniku.
\end_layout
-\begin_layout Standard
-\begin_inset CommandInset toc
-LatexCommand tableofcontents
-
-\end_inset
-
-
-\end_layout
-
-\begin_layout Section
+\begin_layout Section*
Podatki in grafi
\end_layout
@@ -156,7 +147,7 @@ status open
\lang english
\begin_inset Tabular
-<lyxtabular version="3" rows="6" columns="7">
+<lyxtabular version="3" rows="6" columns="8">
<features tabularvalignment="middle">
<column alignment="left" valignment="top" width="0pt">
<column alignment="left" valignment="top" width="0pt">
@@ -165,18 +156,25 @@ status open
<column alignment="left" valignment="top" width="0pt">
<column alignment="left" valignment="top" width="0pt">
<column alignment="left" valignment="top" width="0pt">
+<column alignment="left" valignment="top" width="0pt">
<row>
<cell alignment="left" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
+Št.
+ meritve
+\end_layout
-\lang english
-\begin_inset Formula $a+b$
\end_inset
+</cell>
+<cell alignment="left" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+\begin_layout Plain Layout
-\begin_inset Formula $\left[\si{\meter}\right]$
+\lang english
+\begin_inset Formula $a+b\left[\si{\meter}\right]$
\end_inset
@@ -190,11 +188,7 @@ status open
\begin_layout Plain Layout
\lang english
-\begin_inset Formula $b$
-\end_inset
-
-
-\begin_inset Formula $\left[\si{\meter}\right]$
+\begin_inset Formula $b\left[\si{\meter}\right]$
\end_inset
@@ -208,11 +202,7 @@ status open
\begin_layout Plain Layout
\lang english
-\begin_inset Formula $a$
-\end_inset
-
-
-\begin_inset Formula $\left[\si{\meter}\right]$
+\begin_inset Formula $a\left[\si{\meter}\right]$
\end_inset
@@ -226,11 +216,7 @@ status open
\begin_layout Plain Layout
\lang english
-\begin_inset Formula $a^{-1}$
-\end_inset
-
-
-\begin_inset Formula $\left[\si{\per\meter}\right]$
+\begin_inset Formula $a^{-1}\left[\si{\per\meter}\right]$
\end_inset
@@ -244,11 +230,7 @@ status open
\begin_layout Plain Layout
\lang english
-\begin_inset Formula $b^{-1}$
-\end_inset
-
-
-\begin_inset Formula $\left[\si{\per\meter}\right]$
+\begin_inset Formula $b^{-1}\left[\si{\per\meter}\right]$
\end_inset
@@ -260,13 +242,9 @@ status open
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Formula $f$
-\end_inset
-
\lang english
-
-\begin_inset Formula $\left[\si{\meter}\right]$
+\begin_inset Formula $f\left[\si{\meter}\right]$
\end_inset
@@ -278,13 +256,9 @@ status open
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Formula $\Delta f$
-\end_inset
-
\lang english
-
-\begin_inset Formula $\left[\si{\meter}\right]$
+\begin_inset Formula $\Delta f\left[\si{\meter}\right]$
\end_inset
@@ -300,6 +274,17 @@ status open
\begin_layout Plain Layout
\lang english
+0
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="left" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\lang english
0,23
\end_layout
@@ -379,6 +364,17 @@ status open
\begin_layout Plain Layout
\lang english
+1
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="left" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\lang english
0,25
\end_layout
@@ -458,6 +454,17 @@ status open
\begin_layout Plain Layout
\lang english
+2
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="left" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\lang english
0,27
\end_layout
@@ -537,6 +544,17 @@ status open
\begin_layout Plain Layout
\lang english
+3
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="left" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\lang english
0,29
\end_layout
@@ -616,6 +634,17 @@ status open
\begin_layout Plain Layout
\lang english
+4
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\lang english
0,31
\end_layout
@@ -698,7 +727,7 @@ status open
\begin_inset Caption Standard
\begin_layout Plain Layout
-Meritve tenkega upornika
+Izmerjeni podatki
\end_layout
\end_inset
@@ -733,85 +762,45 @@ begin{tikzpicture}
\backslash
begin{axis}[width=0.75
\backslash
-textwidth, scale only axis, ylabel=$I$, domain=0:11, ytick pos=left, samples=256
-, xlabel=$U$, xtick pos=bottom, xmin=0, ymin=0]
-\end_layout
-
-\begin_layout Plain Layout
-
-%
-\backslash
-addplot[only marks] table [x=u, y=i, col sep=comma] {1t.csv};
+textwidth, scale only axis, ylabel=$b$, domain=0:.4, ytick pos=left, samples=256,
+ xlabel=$a$, xtick pos=bottom, xmin=0, xmax=.4, ymin=-.1, ymax=.2, %grid=both
\end_layout
\begin_layout Plain Layout
-
-\backslash
-addlegendentry{tenek: $
-\backslash
-SI{560}{
-\backslash
-ohm}
-\backslash
-cdot
-\backslash
-SI{5}{
-\backslash
-percent}$}
+, major grid style={dashed,blue}]
\end_layout
\begin_layout Plain Layout
\backslash
-addplot[blue] (x, {x*1.75986});
+addplot[only marks] table [x=a, y=b, col sep=comma] {podatki.csv};
\end_layout
\begin_layout Plain Layout
\backslash
-addlegendentry{}
+addlegendentry{meritve}
\end_layout
\begin_layout Plain Layout
-%
-\backslash
-addplot[mark=triangle*, red, only marks] table [x=u, y=i, col sep=comma]
- {1d.csv};
-\end_layout
-\begin_layout Plain Layout
-
-
-\backslash
-addlegendentry{debel: $
-\backslash
-SI{270}{
-\backslash
-ohm}
\backslash
-cdot
-\backslash
-SI{5}{
-\backslash
-percent}$}
+addplot[blue] (x, {1/(1/0.0511438-1/x)});
\end_layout
\begin_layout Plain Layout
\backslash
-addplot[blue] (x, {x*3.65845});
+addlegendentry{$b=(f^{-1}-a^{-1})^{-1}$}
\end_layout
\begin_layout Plain Layout
-
-\backslash
-addlegendentry{}
\end_layout
\begin_layout Plain Layout
@@ -824,21 +813,21 @@ addplot[mark=square*, blue, only marks] table [x=u, y=i, col sep=comma]
\begin_layout Plain Layout
-
+%
\backslash
addlegendentry{zaporedno}
\end_layout
\begin_layout Plain Layout
-
+%
\backslash
addplot[blue] (x, {x*1.1889});
\end_layout
\begin_layout Plain Layout
-
+%
\backslash
addlegendentry{}
\end_layout
@@ -853,21 +842,21 @@ addplot[mark=diamond*, green, only marks] table [x=u, y=i, col sep=comma]
\begin_layout Plain Layout
-
+%
\backslash
addlegendentry{vzporedno}
\end_layout
\begin_layout Plain Layout
-
+%
\backslash
addplot[blue] (x, {x*5.38536});
\end_layout
\begin_layout Plain Layout
-
+%
\backslash
addlegendentry{}
\end_layout
@@ -883,89 +872,123 @@ end{axis}
\backslash
-end{tikzpicture}
+begin{axis}[width=0.75
+\backslash
+textwidth, scale only axis, ylabel=$b^{-1}$, ytick pos=right, samples=256,
+ xlabel=$a^{-1}$, xtick pos=top, %grid=both
\end_layout
-\end_inset
+\begin_layout Plain Layout
+, xlabel near ticks, ylabel near ticks, major grid style={dashed,red},
+\end_layout
+
+\begin_layout Plain Layout
+legend style={at={(0.975,0.325)}, anchor=south east}, domain=4:7, xmin=4,
+ xmax=6.6, ymin=13, ymax=15.6
\end_layout
\begin_layout Plain Layout
-\begin_inset Caption Standard
+
+]
+\end_layout
\begin_layout Plain Layout
-\begin_inset CommandInset label
-LatexCommand label
-name "fig:graf-1"
-\end_inset
-Odvisnost valovne dolžine od sile, s katero je vrvica napeta.
+\backslash
+addplot[mark=triangle*, red, only marks] table [x=1/a, y=1/b, col sep=comma]
+ {podatki.csv};
\end_layout
-\end_inset
+\begin_layout Plain Layout
+\backslash
+addlegendentry{meritve}
\end_layout
-\end_inset
+\begin_layout Plain Layout
-\begin_inset ERT
-status open
+\backslash
+addplot[red] (x, {1/0.0511438-x});
+\end_layout
\begin_layout Plain Layout
\backslash
-begin{lstlisting}
+addlegendentry{$b^{-1}=f^{-1}-a^{-1}$}
\end_layout
\begin_layout Plain Layout
-set datafile separator ','
+
+\backslash
+end{axis}
\end_layout
\begin_layout Plain Layout
-fit (x*p)
-\begin_inset Quotes gld
+
+\backslash
+end{tikzpicture}
+\end_layout
+
\end_inset
-1t.csv" using 2:3 via p
+
\end_layout
\begin_layout Plain Layout
+\begin_inset Caption Standard
+
+\begin_layout Plain Layout
+\begin_inset CommandInset label
+LatexCommand label
+name "fig:graf-1"
+\end_inset
-\backslash
-end{lstlisting}
-\end_layout
+\begin_inset Formula $b(a)$
+\end_inset
+
+ in
+\begin_inset Formula $b^{-1}(a^{-1})$
\end_inset
\end_layout
-\begin_layout Section
-Uporabljen program
+\end_inset
+
+
\end_layout
-\begin_layout Standard
-\begin_inset ERT
-status open
+\end_inset
-\begin_layout Plain Layout
-%
-\backslash
-lstinputlisting[language=Python]{tab.py}
\end_layout
+\begin_layout Standard
+\begin_inset Formula $f$
\end_inset
+ je obratna vrednost neničelne komponente točke presečišča med bodisi ordinatno
+ bodisi abscisno osjo in premico
+\begin_inset Formula $b^{-1}=f^{-1}-a^{-1}$
+\end_inset
+
+.
+ Kakršno koli odčitavanje iz strojno generiranega grafa ni smiselno, saj
+ je bila
+\begin_inset Formula $f^{-1}$
+\end_inset
+ v osnovi uporabljena za konstruiranje premice.
\end_layout
\end_body