From 665e0bddaea855613d12c79b35e8988d8155b8d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anton=20Luka=20=C5=A0ijanec?= Date: Mon, 20 Mar 2023 23:40:22 +0100 Subject: fiz vaje, zadnja (10) je nedoko --- fiz/vaje/9/.gitignore | 1 + fiz/vaje/9/dokument.lyx | 279 ++++++++++++++++++++++++++---------------------- 2 files changed, 152 insertions(+), 128 deletions(-) (limited to 'fiz/vaje/9') 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 - + @@ -165,18 +156,25 @@ status open + \begin_inset Text \begin_layout Plain Layout +Št. + meritve +\end_layout -\lang english -\begin_inset Formula $a+b$ \end_inset + + +\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 @@ -299,6 +273,17 @@ status open \begin_layout Plain Layout +\lang english +0 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout + \lang english 0,23 \end_layout @@ -378,6 +363,17 @@ status open \begin_layout Plain Layout +\lang english +1 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout + \lang english 0,25 \end_layout @@ -457,6 +453,17 @@ status open \begin_layout Plain Layout +\lang english +2 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout + \lang english 0,27 \end_layout @@ -536,6 +543,17 @@ status open \begin_layout Plain Layout +\lang english +3 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout + \lang english 0,29 \end_layout @@ -615,6 +633,17 @@ status open \begin_layout Plain Layout +\lang english +4 +\end_layout + +\end_inset + + +\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 -- cgit v1.2.3