#LyX 2.3 created this file. For more info see http://www.lyx.org/
\lyxformat 544
\begin_document
\begin_header
\save_transient_properties true
\origin unavailable
\textclass article
\begin_preamble
\usepackage{siunitx}
\usepackage{pgfplots}
\usepackage{listings}
\usepackage{multicol}
\sisetup{output-decimal-marker = {,}, quotient-mode=fraction, output-exponent-marker=\ensuremath{\mathrm{3}}}
\end_preamble
\use_default_options true
\maintain_unincluded_children false
\language slovene
\language_package default
\inputencoding auto
\fontencoding global
\font_roman "default" "default"
\font_sans "default" "default"
\font_typewriter "default" "default"
\font_math "auto" "auto"
\font_default_family default
\use_non_tex_fonts false
\font_sc false
\font_osf false
\font_sf_scale 100 100
\font_tt_scale 100 100
\use_microtype false
\use_dash_ligatures true
\graphics default
\default_output_format default
\output_sync 0
\bibtex_command default
\index_command default
\paperfontsize default
\spacing single
\use_hyperref false
\papersize default
\use_geometry true
\use_package amsmath 1
\use_package amssymb 1
\use_package cancel 1
\use_package esint 1
\use_package mathdots 1
\use_package mathtools 1
\use_package mhchem 1
\use_package stackrel 1
\use_package stmaryrd 1
\use_package undertilde 1
\cite_engine basic
\cite_engine_type default
\biblio_style plain
\use_bibtopic false
\use_indices false
\paperorientation portrait
\suppress_date false
\justification false
\use_refstyle 1
\use_minted 0
\index Index
\shortcut idx
\color #008000
\end_index
\leftmargin 1cm
\topmargin 2cm
\rightmargin 1cm
\bottommargin 2cm
\headheight 1cm
\headsep 1cm
\footskip 1cm
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\paragraph_indentation default
\is_math_indent 0
\math_numbering_side default
\quotes_style german
\dynamic_quotes 0
\papercolumns 1
\papersides 1
\paperpagestyle default
\tracking_changes false
\output_changes false
\html_math_output 0
\html_css_as_file 0
\html_be_strict false
\end_header
\begin_body
\begin_layout Title
Ohmov zakon in vezava uporov
\end_layout
\begin_layout Author
\noun on
Anton Luka Šijanec
\end_layout
\begin_layout Date
25.
januar 2023
\end_layout
\begin_layout Abstract
Grafi in rezultati osme vaje pri predmetu
\noun on
F41
\noun default
na Gimnaziji Bežigrad v 4.
letniku.
Vaja je potekala 8.
decembra 2022.
\end_layout
\begin_layout Standard
\begin_inset CommandInset toc
LatexCommand tableofcontents
\end_inset
\end_layout
\begin_layout Section
Podatki in grafi
\end_layout
\begin_layout Standard
\begin_inset ERT
status open
\begin_layout Plain Layout
\backslash
begin{multicols}{4}
\end_layout
\end_inset
\begin_inset Float table
placement H
wide false
sideways false
status open
\begin_layout Plain Layout
\align center
\lang english
\begin_inset Tabular
\begin_inset Text
\begin_layout Plain Layout
\lang english
\begin_inset Formula $U\left[\si{\volt}\right]$
\end_inset
\end_layout
\end_inset
|
\begin_inset Text
\begin_layout Plain Layout
\begin_inset Formula $I\left[\si{\milli\ampere}\right]$
\end_inset
\end_layout
\end_inset
|
\begin_inset Text
\begin_layout Plain Layout
\lang english
10,16
\end_layout
\end_inset
|
\begin_inset Text
\begin_layout Plain Layout
\lang english
18,0
\end_layout
\end_inset
|
\begin_inset Text
\begin_layout Plain Layout
\lang english
9,02
\end_layout
\end_inset
|
\begin_inset Text
\begin_layout Plain Layout
\lang english
15,84
\end_layout
\end_inset
|
\begin_inset Text
\begin_layout Plain Layout
\lang english
8,03
\end_layout
\end_inset
|
\begin_inset Text
\begin_layout Plain Layout
\lang english
14,11
\end_layout
\end_inset
|
\begin_inset Text
\begin_layout Plain Layout
\lang english
6,97
\end_layout
\end_inset
|
\begin_inset Text
\begin_layout Plain Layout
\lang english
12,24
\end_layout
\end_inset
|
\begin_inset Text
\begin_layout Plain Layout
\lang english
6,05
\end_layout
\end_inset
|
\begin_inset Text
\begin_layout Plain Layout
\lang english
10,61
\end_layout
\end_inset
|
\begin_inset Text
\begin_layout Plain Layout
\lang english
5,03
\end_layout
\end_inset
|
\begin_inset Text
\begin_layout Plain Layout
\lang english
8,84
\end_layout
\end_inset
|
\begin_inset Text
\begin_layout Plain Layout
\lang english
4,04
\end_layout
\end_inset
|
\begin_inset Text
\begin_layout Plain Layout
\lang english
7,07
\end_layout
\end_inset
|
\begin_inset Text
\begin_layout Plain Layout
\lang english
3,03
\end_layout
\end_inset
|
\begin_inset Text
\begin_layout Plain Layout
\lang english
5,31
\end_layout
\end_inset
|
\begin_inset Text
\begin_layout Plain Layout
\lang english
2,03
\end_layout
\end_inset
|
\begin_inset Text
\begin_layout Plain Layout
\lang english
3,56
\end_layout
\end_inset
|
\begin_inset Text
\begin_layout Plain Layout
\lang english
0,98
\end_layout
\end_inset
|
\begin_inset Text
\begin_layout Plain Layout
\lang english
1,71
\end_layout
\end_inset
|
\end_inset
\lang slovene
\begin_inset Caption Standard
\begin_layout Plain Layout
Meritve tenkega upornika
\end_layout
\end_inset
\end_layout
\end_inset
\begin_inset Float table
placement H
wide false
sideways false
status open
\begin_layout Plain Layout
\align center
\lang english
\begin_inset Tabular
\begin_inset Text
\begin_layout Plain Layout
\lang english
\begin_inset Formula $U\left[\si{\volt}\right]$
\end_inset
\end_layout
\end_inset
|
\begin_inset Text
\begin_layout Plain Layout
\begin_inset Formula $I\left[\si{\milli\ampere}\right]$
\end_inset
\end_layout
\end_inset
|
\begin_inset Text
\begin_layout Plain Layout
\lang english
1,03
\end_layout
\end_inset
|
\begin_inset Text
\begin_layout Plain Layout
\lang english
3,66
\end_layout
\end_inset
|
\begin_inset Text
\begin_layout Plain Layout
\lang english
1,99
\end_layout
\end_inset
|
\begin_inset Text
\begin_layout Plain Layout
\lang english
7,06
\end_layout
\end_inset
|
\begin_inset Text
\begin_layout Plain Layout
\lang english
3,09
\end_layout
\end_inset
|
\begin_inset Text
\begin_layout Plain Layout
\lang english
10,97
\end_layout
\end_inset
|
\begin_inset Text
\begin_layout Plain Layout
\lang english
3,98
\end_layout
\end_inset
|
\begin_inset Text
\begin_layout Plain Layout
\lang english
14,15
\end_layout
\end_inset
|
\begin_inset Text
\begin_layout Plain Layout
\lang english
5,0
\end_layout
\end_inset
|
\begin_inset Text
\begin_layout Plain Layout
\lang english
17,76
\end_layout
\end_inset
|
\begin_inset Text
\begin_layout Plain Layout
\lang english
6,0
\end_layout
\end_inset
|
\begin_inset Text
\begin_layout Plain Layout
\lang english
22,0
\end_layout
\end_inset
|
\begin_inset Text
\begin_layout Plain Layout
\lang english
7,04
\end_layout
\end_inset
|
\begin_inset Text
\begin_layout Plain Layout
\lang english
25,8
\end_layout
\end_inset
|
\begin_inset Text
\begin_layout Plain Layout
\lang english
7,99
\end_layout
\end_inset
|
\begin_inset Text
\begin_layout Plain Layout
\lang english
29,3
\end_layout
\end_inset
|
\begin_inset Text
\begin_layout Plain Layout
\lang english
9,0
\end_layout
\end_inset
|
\begin_inset Text
\begin_layout Plain Layout
\lang english
33,1
\end_layout
\end_inset
|
\begin_inset Text
\begin_layout Plain Layout
\lang english
10,0
\end_layout
\end_inset
|
\begin_inset Text
\begin_layout Plain Layout
\lang english
36,9
\end_layout
\end_inset
|
\end_inset
\lang slovene
\begin_inset Caption Standard
\begin_layout Plain Layout
Meritve debelega upornika
\end_layout
\end_inset
\end_layout
\end_inset
\begin_inset Float table
placement H
wide false
sideways false
status open
\begin_layout Plain Layout
\align center
\lang english
\begin_inset Tabular
\begin_inset Text
\begin_layout Plain Layout
\lang english
\begin_inset Formula $U\left[\si{\volt}\right]$
\end_inset
\end_layout
\end_inset
|
\begin_inset Text
\begin_layout Plain Layout
\begin_inset Formula $I\left[\si{\milli\ampere}\right]$
\end_inset
\end_layout
\end_inset
|
\begin_inset Text
\begin_layout Plain Layout
\lang english
1,01
\end_layout
\end_inset
|
\begin_inset Text
\begin_layout Plain Layout
\lang english
1,19
\end_layout
\end_inset
|
\begin_inset Text
\begin_layout Plain Layout
\lang english
2,03
\end_layout
\end_inset
|
\begin_inset Text
\begin_layout Plain Layout
\lang english
2,41
\end_layout
\end_inset
|
\begin_inset Text
\begin_layout Plain Layout
\lang english
2,98
\end_layout
\end_inset
|
\begin_inset Text
\begin_layout Plain Layout
\lang english
3,55
\end_layout
\end_inset
|
\begin_inset Text
\begin_layout Plain Layout
\lang english
4,03
\end_layout
\end_inset
|
\begin_inset Text
\begin_layout Plain Layout
\lang english
4,79
\end_layout
\end_inset
|
\begin_inset Text
\begin_layout Plain Layout
\lang english
5,02
\end_layout
\end_inset
|
\begin_inset Text
\begin_layout Plain Layout
\lang english
5,95
\end_layout
\end_inset
|
\begin_inset Text
\begin_layout Plain Layout
\lang english
5,96
\end_layout
\end_inset
|
\begin_inset Text
\begin_layout Plain Layout
\lang english
7,11
\end_layout
\end_inset
|
\begin_inset Text
\begin_layout Plain Layout
\lang english
6,97
\end_layout
\end_inset
|
\begin_inset Text
\begin_layout Plain Layout
\lang english
8,29
\end_layout
\end_inset
|
\begin_inset Text
\begin_layout Plain Layout
\lang english
7,98
\end_layout
\end_inset
|
\begin_inset Text
\begin_layout Plain Layout
\lang english
9,48
\end_layout
\end_inset
|
\begin_inset Text
\begin_layout Plain Layout
\lang english
9,0
\end_layout
\end_inset
|
\begin_inset Text
\begin_layout Plain Layout
\lang english
10,7
\end_layout
\end_inset
|
\begin_inset Text
\begin_layout Plain Layout
\lang english
9,96
\end_layout
\end_inset
|
\begin_inset Text
\begin_layout Plain Layout
\lang english
11,84
\end_layout
\end_inset
|
\end_inset
\lang slovene
\begin_inset Caption Standard
\begin_layout Plain Layout
Meritve zaporedne vezave
\end_layout
\end_inset
\end_layout
\end_inset
\begin_inset Float table
placement H
wide false
sideways false
status open
\begin_layout Plain Layout
\align center
\lang english
\begin_inset Tabular
\begin_inset Text
\begin_layout Plain Layout
\lang english
\begin_inset Formula $U\left[\si{\volt}\right]$
\end_inset
\end_layout
\end_inset
|
\begin_inset Text
\begin_layout Plain Layout
\begin_inset Formula $I\left[\si{\milli\ampere}\right]$
\end_inset
\end_layout
\end_inset
|
\begin_inset Text
\begin_layout Plain Layout
\lang english
9,97
\end_layout
\end_inset
|
\begin_inset Text
\begin_layout Plain Layout
\lang english
54,2
\end_layout
\end_inset
|
\begin_inset Text
\begin_layout Plain Layout
\lang english
9,03
\end_layout
\end_inset
|
\begin_inset Text
\begin_layout Plain Layout
\lang english
49,0
\end_layout
\end_inset
|
\begin_inset Text
\begin_layout Plain Layout
\lang english
8,09
\end_layout
\end_inset
|
\begin_inset Text
\begin_layout Plain Layout
\lang english
43,9
\end_layout
\end_inset
|
\begin_inset Text
\begin_layout Plain Layout
\lang english
6,93
\end_layout
\end_inset
|
\begin_inset Text
\begin_layout Plain Layout
\lang english
37,6
\end_layout
\end_inset
|
\begin_inset Text
\begin_layout Plain Layout
\lang english
6,0
\end_layout
\end_inset
|
\begin_inset Text
\begin_layout Plain Layout
\lang english
32,5
\end_layout
\end_inset
|
\begin_inset Text
\begin_layout Plain Layout
\lang english
5,02
\end_layout
\end_inset
|
\begin_inset Text
\begin_layout Plain Layout
\lang english
27,2
\end_layout
\end_inset
|
\begin_inset Text
\begin_layout Plain Layout
\lang english
4,03
\end_layout
\end_inset
|
\begin_inset Text
\begin_layout Plain Layout
\lang english
21,8
\end_layout
\end_inset
|
\begin_inset Text
\begin_layout Plain Layout
\lang english
3,01
\end_layout
\end_inset
|
\begin_inset Text
\begin_layout Plain Layout
\lang english
11,1
\end_layout
\end_inset
|
\begin_inset Text
\begin_layout Plain Layout
\lang english
1,04
\end_layout
\end_inset
|
\begin_inset Text
\begin_layout Plain Layout
\lang english
5,6
\end_layout
\end_inset
|
\end_inset
\lang slovene
\begin_inset Caption Standard
\begin_layout Plain Layout
Meritve vzporedne vezave
\end_layout
\end_inset
\end_layout
\end_inset
\begin_inset ERT
status open
\begin_layout Plain Layout
\backslash
end{multicols}
\end_layout
\end_inset
\begin_inset Float figure
placement H
wide false
sideways false
status open
\begin_layout Plain Layout
\align center
\begin_inset ERT
status open
\begin_layout Plain Layout
\backslash
begin{tikzpicture}
\end_layout
\begin_layout Plain Layout
\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};
\end_layout
\begin_layout Plain Layout
\backslash
addlegendentry{tenek: $
\backslash
SI{560}{
\backslash
ohm}
\backslash
cdot
\backslash
SI{5}{
\backslash
percent}$}
\end_layout
\begin_layout Plain Layout
\backslash
addplot[blue] (x, {x*1.75986});
\end_layout
\begin_layout Plain Layout
\backslash
addlegendentry{}
\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}$}
\end_layout
\begin_layout Plain Layout
\backslash
addplot[blue] (x, {x*3.65845});
\end_layout
\begin_layout Plain Layout
\backslash
addlegendentry{}
\end_layout
\begin_layout Plain Layout
\backslash
addplot[mark=square*, blue, only marks] table [x=u, y=i, col sep=comma]
{2.csv};
\end_layout
\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
\begin_layout Plain Layout
\backslash
addplot[mark=diamond*, green, only marks] table [x=u, y=i, col sep=comma]
{3.csv};
\end_layout
\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
\begin_layout Plain Layout
\backslash
end{axis}
\end_layout
\begin_layout Plain Layout
\backslash
end{tikzpicture}
\end_layout
\end_inset
\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
Odvisnost valovne dolžine od sile, s katero je vrvica napeta.
\end_layout
\end_inset
\end_layout
\end_inset
\begin_inset ERT
status open
\begin_layout Plain Layout
\backslash
begin{lstlisting}
\end_layout
\begin_layout Plain Layout
set datafile separator ','
\end_layout
\begin_layout Plain Layout
fit (x*p)
\begin_inset Quotes gld
\end_inset
1t.csv" using 2:3 via p
\end_layout
\begin_layout Plain Layout
\backslash
end{lstlisting}
\end_layout
\end_inset
\end_layout
\begin_layout Section
Uporabljen program
\end_layout
\begin_layout Standard
\begin_inset ERT
status open
\begin_layout Plain Layout
\backslash
lstinputlisting[language=Python]{tab.py}
\end_layout
\end_inset
\end_layout
\end_body
\end_document