diff options
Diffstat (limited to 'fiz/vaje')
-rw-r--r-- | fiz/vaje/7/.gitignore | 2 | ||||
-rw-r--r-- | fiz/vaje/7/debela.tsv | 11 | ||||
-rw-r--r-- | fiz/vaje/7/dokument.lyx | 1136 | ||||
-rw-r--r-- | fiz/vaje/7/makefile | 6 | ||||
-rwxr-xr-x | fiz/vaje/7/tab.py | 10 | ||||
-rw-r--r-- | fiz/vaje/7/tanka.tsv | 12 | ||||
-rw-r--r-- | fiz/vaje/8/.gitignore | 5 | ||||
-rw-r--r-- | fiz/vaje/8/1d.tsv | 11 | ||||
-rw-r--r-- | fiz/vaje/8/1t.tsv | 11 | ||||
-rw-r--r-- | fiz/vaje/8/2.tsv | 11 | ||||
-rw-r--r-- | fiz/vaje/8/3.tsv | 10 | ||||
-rw-r--r-- | fiz/vaje/8/dokument.lyx | 655 | ||||
-rw-r--r-- | fiz/vaje/8/makefile | 6 | ||||
-rwxr-xr-x | fiz/vaje/8/tab.py | 8 |
14 files changed, 1894 insertions, 0 deletions
diff --git a/fiz/vaje/7/.gitignore b/fiz/vaje/7/.gitignore new file mode 100644 index 0000000..bd3ed92 --- /dev/null +++ b/fiz/vaje/7/.gitignore @@ -0,0 +1,2 @@ +*.csv +*.csv diff --git a/fiz/vaje/7/debela.tsv b/fiz/vaje/7/debela.tsv new file mode 100644 index 0000000..79d7fb7 --- /dev/null +++ b/fiz/vaje/7/debela.tsv @@ -0,0 +1,11 @@ +pollamb m +0.14 9.5 +0.245 29.5 +0.28 39.5 +0.32 49.5 +0.34 59.5 +0.37 69.5 +0.4 79.5 +0.42 89.5 +0.435 99.5 +0.47 109.5 diff --git a/fiz/vaje/7/dokument.lyx b/fiz/vaje/7/dokument.lyx new file mode 100644 index 0000000..dd5ad33 --- /dev/null +++ b/fiz/vaje/7/dokument.lyx @@ -0,0 +1,1136 @@ +#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 +Stoječe valovanje na vrvi +\end_layout + +\begin_layout Author + +\noun on +Anton Luka Šijanec +\end_layout + +\begin_layout Date +25. + januar 2023 +\end_layout + +\begin_layout Abstract +Poročilo sedme 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 +Naloga +\end_layout + +\begin_layout Standard +S stoječim valovanjem ugotovi, kako je hitrost valovanja na vrvi odvisna + od sile, ki napenja vrv. +\end_layout + +\begin_layout Section +Potrebščine +\end_layout + +\begin_layout Itemize +brnač +\end_layout + +\begin_layout Itemize +ŠMI +\end_layout + +\begin_layout Itemize +vezna žica (2) +\end_layout + +\begin_layout Itemize +prižema s škripcem +\end_layout + +\begin_layout Itemize +vrvica (2) +\end_layout + +\begin_layout Itemize +uteži po +\begin_inset Formula $\SI{10}{\gram}$ +\end_inset + + (6) +\end_layout + +\begin_layout Section +Potek dela +\end_layout + +\begin_layout Enumerate +En konec debelejše vrvice pritrdi na brnač, ki vzbuja na vrvici nihanje + s stalno frekvenco +\begin_inset Formula $\SI{50}{\hertz}$ +\end_inset + +. + Brnač priključiš na ŠMI na izmenično napetost +\begin_inset Formula $\SI{2}{\volt}$ +\end_inset + +. +\end_layout + +\begin_layout Enumerate +Drugi konec vrvice napelji preko škripca in obesi nanjo kaveljček za uteži + in eno utež (skupna masa +\begin_inset Formula $\SI{20}{\gram}$ +\end_inset + +). +\end_layout + +\begin_layout Enumerate +Ko vključiš ŠMI, da brnač zaniha, počasi spreminjaj dolžino vrvice med brnačem + in škripcem tako, da dobiš na vrvici lepo stoječe valovanje. + Določi valovno dolžino tega stoječega valovanja. +\end_layout + +\begin_layout Enumerate +Postopoma dodajaj uteži na kaveljček, vsakič poišči ustrezne stoječe valovanje + te določi valovno dolžino. + Vse meritve zapisuj v ustrezno tabelo. +\begin_inset ERT +status open + +\begin_layout Plain Layout + + +\backslash +begin{multicols}{2} +\end_layout + +\end_inset + + +\begin_inset Float table +placement H +wide false +sideways false +status open + +\begin_layout Plain Layout +\align center +\begin_inset Tabular +<lyxtabular version="3" rows="11" columns="2"> +<features tabularvalignment="middle"> +<column alignment="center" valignment="top"> +<column alignment="center" valignment="top"> +<row> +<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none"> +\begin_inset Text + +\begin_layout Plain Layout +\begin_inset Formula $\frac{\lambda}{2}\left[\si{\meter}\right]$ +\end_inset + + +\end_layout + +\end_inset +</cell> +<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none"> +\begin_inset Text + +\begin_layout Plain Layout +\begin_inset Formula $m\left[\si{\gram}\right]$ +\end_inset + + +\end_layout + +\end_inset +</cell> +</row> +<row> +<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none"> +\begin_inset Text + +\begin_layout Plain Layout +0,14 +\end_layout + +\end_inset +</cell> +<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none"> +\begin_inset Text + +\begin_layout Plain Layout +9,5 +\end_layout + +\end_inset +</cell> +</row> +<row> +<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none"> +\begin_inset Text + +\begin_layout Plain Layout +0,245 +\end_layout + +\end_inset +</cell> +<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none"> +\begin_inset Text + +\begin_layout Plain Layout +29,5 +\end_layout + +\end_inset +</cell> +</row> +<row> +<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none"> +\begin_inset Text + +\begin_layout Plain Layout +0,28 +\end_layout + +\end_inset +</cell> +<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none"> +\begin_inset Text + +\begin_layout Plain Layout +39,5 +\end_layout + +\end_inset +</cell> +</row> +<row> +<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none"> +\begin_inset Text + +\begin_layout Plain Layout +0,32 +\end_layout + +\end_inset +</cell> +<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none"> +\begin_inset Text + +\begin_layout Plain Layout +49,5 +\end_layout + +\end_inset +</cell> +</row> +<row> +<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none"> +\begin_inset Text + +\begin_layout Plain Layout +0,34 +\end_layout + +\end_inset +</cell> +<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none"> +\begin_inset Text + +\begin_layout Plain Layout +59,5 +\end_layout + +\end_inset +</cell> +</row> +<row> +<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none"> +\begin_inset Text + +\begin_layout Plain Layout +0,37 +\end_layout + +\end_inset +</cell> +<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none"> +\begin_inset Text + +\begin_layout Plain Layout +69,5 +\end_layout + +\end_inset +</cell> +</row> +<row> +<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none"> +\begin_inset Text + +\begin_layout Plain Layout +0,4 +\end_layout + +\end_inset +</cell> +<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none"> +\begin_inset Text + +\begin_layout Plain Layout +79,5 +\end_layout + +\end_inset +</cell> +</row> +<row> +<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none"> +\begin_inset Text + +\begin_layout Plain Layout +0,42 +\end_layout + +\end_inset +</cell> +<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none"> +\begin_inset Text + +\begin_layout Plain Layout +89,5 +\end_layout + +\end_inset +</cell> +</row> +<row> +<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none"> +\begin_inset Text + +\begin_layout Plain Layout +0,435 +\end_layout + +\end_inset +</cell> +<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none"> +\begin_inset Text + +\begin_layout Plain Layout +99,5 +\end_layout + +\end_inset +</cell> +</row> +<row> +<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none"> +\begin_inset Text + +\begin_layout Plain Layout +0,47 +\end_layout + +\end_inset +</cell> +<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none"> +\begin_inset Text + +\begin_layout Plain Layout +109,5 +\end_layout + +\end_inset +</cell> +</row> +</lyxtabular> + +\end_inset + + +\end_layout + +\begin_layout Plain Layout +\begin_inset Caption Standard + +\begin_layout Plain Layout +Meritve debele vrvice +\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 +\begin_inset Tabular +<lyxtabular version="3" rows="12" columns="2"> +<features tabularvalignment="middle"> +<column alignment="center" valignment="top"> +<column alignment="center" valignment="top"> +<row> +<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none"> +\begin_inset Text + +\begin_layout Plain Layout +\begin_inset Formula $\frac{\lambda}{2}\left[\si{\meter}\right]$ +\end_inset + + +\end_layout + +\end_inset +</cell> +<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none"> +\begin_inset Text + +\begin_layout Plain Layout +\begin_inset Formula $m\left[\si{\gram}\right]$ +\end_inset + + +\end_layout + +\end_inset +</cell> +</row> +<row> +<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none"> +\begin_inset Text + +\begin_layout Plain Layout +0,33 +\end_layout + +\end_inset +</cell> +<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none"> +\begin_inset Text + +\begin_layout Plain Layout +9,5 +\end_layout + +\end_inset +</cell> +</row> +<row> +<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none"> +\begin_inset Text + +\begin_layout Plain Layout +0,475 +\end_layout + +\end_inset +</cell> +<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none"> +\begin_inset Text + +\begin_layout Plain Layout +19,5 +\end_layout + +\end_inset +</cell> +</row> +<row> +<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none"> +\begin_inset Text + +\begin_layout Plain Layout +0,59 +\end_layout + +\end_inset +</cell> +<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none"> +\begin_inset Text + +\begin_layout Plain Layout +29,5 +\end_layout + +\end_inset +</cell> +</row> +<row> +<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none"> +\begin_inset Text + +\begin_layout Plain Layout +0,7 +\end_layout + +\end_inset +</cell> +<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none"> +\begin_inset Text + +\begin_layout Plain Layout +39,5 +\end_layout + +\end_inset +</cell> +</row> +<row> +<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none"> +\begin_inset Text + +\begin_layout Plain Layout +0,77 +\end_layout + +\end_inset +</cell> +<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none"> +\begin_inset Text + +\begin_layout Plain Layout +49,5 +\end_layout + +\end_inset +</cell> +</row> +<row> +<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none"> +\begin_inset Text + +\begin_layout Plain Layout +0,85 +\end_layout + +\end_inset +</cell> +<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none"> +\begin_inset Text + +\begin_layout Plain Layout +59,5 +\end_layout + +\end_inset +</cell> +</row> +<row> +<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none"> +\begin_inset Text + +\begin_layout Plain Layout +0,92 +\end_layout + +\end_inset +</cell> +<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none"> +\begin_inset Text + +\begin_layout Plain Layout +69,5 +\end_layout + +\end_inset +</cell> +</row> +<row> +<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none"> +\begin_inset Text + +\begin_layout Plain Layout +0,97 +\end_layout + +\end_inset +</cell> +<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none"> +\begin_inset Text + +\begin_layout Plain Layout +79,5 +\end_layout + +\end_inset +</cell> +</row> +<row> +<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none"> +\begin_inset Text + +\begin_layout Plain Layout +1,04 +\end_layout + +\end_inset +</cell> +<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none"> +\begin_inset Text + +\begin_layout Plain Layout +89,5 +\end_layout + +\end_inset +</cell> +</row> +<row> +<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none"> +\begin_inset Text + +\begin_layout Plain Layout +1,09 +\end_layout + +\end_inset +</cell> +<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none"> +\begin_inset Text + +\begin_layout Plain Layout +99,5 +\end_layout + +\end_inset +</cell> +</row> +<row> +<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none"> +\begin_inset Text + +\begin_layout Plain Layout +1,16 +\end_layout + +\end_inset +</cell> +<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none"> +\begin_inset Text + +\begin_layout Plain Layout +109,5 +\end_layout + +\end_inset +</cell> +</row> +</lyxtabular> + +\end_inset + + +\end_layout + +\begin_layout Plain Layout +\begin_inset Caption Standard + +\begin_layout Plain Layout +Meritve tanke vrvice +\end_layout + +\end_inset + + +\end_layout + +\end_inset + + +\begin_inset ERT +status open + +\begin_layout Plain Layout + + +\backslash +end{multicols} +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Enumerate +\begin_inset CommandInset label +LatexCommand label +name "enu:Tabelo-dopolni-tako," + +\end_inset + +Tabelo dopolni tako, da bo iz nje razvidno, kako se hitrost valovanja na + vrvi spreminja s silo, ki napenja vrvico. +\end_layout + +\begin_layout Enumerate +Nariši graf, ki kaže odvisnost iz točke +\begin_inset CommandInset ref +LatexCommand ref +reference "enu:Tabelo-dopolni-tako," +plural "false" +caps "false" +noprefix "false" + +\end_inset + +, ter z besedami in/ali z enačbo povej, za kakšno odvisnost gre. + Svojo trditev tudi preveri z dodatnim grafom ali računsko. +\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=$ +\backslash +lambda$, domain=0.09:1.09, ytick pos=left, samples=256, xlabel=$T$, xtick + pos=bottom, xmin=0, ymax=3, ymin=0] +\end_layout + +\begin_layout Plain Layout + + +\backslash +addplot[only marks] table [x=sila, y=lambda, col sep=comma] {debela.csv}; +\end_layout + +\begin_layout Plain Layout + + +\backslash +addlegendentry{debela} +\end_layout + +\begin_layout Plain Layout + + +\backslash +addplot[blue] (x, {sqrt(x)*0.899222}); +\end_layout + +\begin_layout Plain Layout + + +\backslash +addlegendentry{} +\end_layout + +\begin_layout Plain Layout + + +\backslash +addplot[red, only marks] table [x=sila, y=lambda, col sep=comma] {tanka.csv}; +\end_layout + +\begin_layout Plain Layout + + +\backslash +addlegendentry{tanka} +\end_layout + +\begin_layout Plain Layout + + +\backslash +addplot[blue] (x, {sqrt(x)*2.21708}); +\end_layout + +\begin_layout Plain Layout + + +\backslash +addlegendentry{} +\end_layout + +\begin_layout Plain Layout + + +\backslash +end{axis} +\end_layout + +\begin_layout Plain Layout + +% +\backslash +begin{axis}[width=0.75 +\backslash +textwidth, scale only axis, ylabel=$ +\backslash +color{red}p +\backslash +color{black}$, domain=0:.55, ylabel near ticks, ytick pos=right, samples=256, + xlabel=$ +\backslash +color{red}V^{-1} +\backslash +color{black}$, xtick pos=top, xlabel near ticks, xmin=0, ymax=200, ymin=0] +\end_layout + +\begin_layout Plain Layout + +% +\backslash +addplot[red, only marks] table [sep=comma, x=iV, y=p] {boylov.csv}; +\end_layout + +\begin_layout Plain Layout + +% +\backslash +addplot[green] (x, {x*(386.934+0.498)}); +\end_layout + +\begin_layout Plain Layout + +% +\backslash +addplot[green] (x, {x*(386.934-0.498)}); +\end_layout + +\begin_layout Plain Layout + +% +\backslash +addplot[red] (x, {x*(386.934)}); +\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+c) +\begin_inset Quotes gld +\end_inset + +debela.csv" using 4:5 via p, c +\end_layout + +\begin_layout Plain Layout + + +\backslash +end{lstlisting} +\end_layout + +\end_inset + + +\begin_inset Formula +\[ +f=\frac{v=\sqrt{\frac{T}{m/L}}}{2L}=\sqrt{\frac{T}{L^{2}4m/L}}=\sqrt{\frac{T}{4mL}}\to f^{2}=\frac{T}{4mL}\to4mlf^{2}=T\to f\sqrt{4mL}=\sqrt{T} +\] + +\end_inset + + +\begin_inset CommandInset citation +LatexCommand cite +key "hpstrings" +literal "true" + +\end_inset + + +\end_layout + +\begin_deeper +\begin_layout Enumerate +\begin_inset Formula $f$ +\end_inset + + je frekvenca nihanja +\end_layout + +\begin_layout Enumerate +\begin_inset Formula $v$ +\end_inset + + je hitrost potujočega valovanja po vrvi +\end_layout + +\begin_layout Enumerate +\begin_inset Formula $m$ +\end_inset + + je masa vrvice dolžine +\begin_inset Formula $L$ +\end_inset + + +\end_layout + +\begin_layout Enumerate +\begin_inset Formula $T$ +\end_inset + + je sila, s katero je vrvica napeta +\end_layout + +\begin_layout Enumerate +\begin_inset Formula $L$ +\end_inset + + je dolžina vrvice +\end_layout + +\end_deeper +\begin_layout Enumerate +Če imaš čas, ponovi cel postopek še s tanjšo vrvico. + Odvisnost iz točke +\begin_inset CommandInset ref +LatexCommand ref +reference "enu:Tabelo-dopolni-tako," +plural "false" +caps "false" +noprefix "false" + +\end_inset + + nariši v isti koordinatni sistem kot za debelejšo vrvico ter komentiraj + rezultat. +\begin_inset Newline newline +\end_inset + +Valovna dolžina tanjše vrvi je za faktor +\begin_inset Formula $ž$ +\end_inset + + večja od debelejše vrvi. + V idealnem primeru bi na to vplivala njena dolžinska gostota, saj drži + +\begin_inset Formula $m\propto f$ +\end_inset + +. +\end_layout + +\begin_layout Standard +\begin_inset CommandInset bibtex +LatexCommand bibtex +btprint "btPrintCited" +bibfiles "/root/projects/sola-gimb-4/citati" +options "bibtotoc,plain" + +\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 diff --git a/fiz/vaje/7/makefile b/fiz/vaje/7/makefile new file mode 100644 index 0000000..7628c99 --- /dev/null +++ b/fiz/vaje/7/makefile @@ -0,0 +1,6 @@ +default: tanka.csv debela.csv +%.csv: %.tsv tab.py + ./tab.py , < $< > $@ +clean: + rm *.csv +.PHONY: default diff --git a/fiz/vaje/7/tab.py b/fiz/vaje/7/tab.py new file mode 100755 index 0000000..eba035e --- /dev/null +++ b/fiz/vaje/7/tab.py @@ -0,0 +1,10 @@ +#!/usr/bin/python3 +import pandas +import sys +import math +b=pandas.read_csv("/dev/stdin", sep="\t") +b.index.name = "idx" +b["sila"] = (9.81*b["m"]/1000) +b["lambda"] = (2*b["pollamb"]) +b = b.astype(float).round(6); +b.to_csv("/dev/stdout", sep=sys.argv[1][0]); diff --git a/fiz/vaje/7/tanka.tsv b/fiz/vaje/7/tanka.tsv new file mode 100644 index 0000000..8892b66 --- /dev/null +++ b/fiz/vaje/7/tanka.tsv @@ -0,0 +1,12 @@ +pollamb m +0.33 9.5 +0.475 19.5 +0.59 29.5 +0.7 39.5 +0.77 49.5 +0.85 59.5 +0.92 69.5 +0.97 79.5 +1.04 89.5 +1.09 99.5 +1.16 109.5 diff --git a/fiz/vaje/8/.gitignore b/fiz/vaje/8/.gitignore new file mode 100644 index 0000000..32ef83e --- /dev/null +++ b/fiz/vaje/8/.gitignore @@ -0,0 +1,5 @@ +*.csv +1d.lyx +1t.lyx +2.lyx +3.lyx diff --git a/fiz/vaje/8/1d.tsv b/fiz/vaje/8/1d.tsv new file mode 100644 index 0000000..d4db0dc --- /dev/null +++ b/fiz/vaje/8/1d.tsv @@ -0,0 +1,11 @@ +u i +1.03 3.66 +1.99 7.06 +3.09 10.97 +3.98 14.15 +5.00 17.76 +6.00 22.0 +7.04 25.8 +7.99 29.3 +9.00 33.1 +10.00 36.9 diff --git a/fiz/vaje/8/1t.tsv b/fiz/vaje/8/1t.tsv new file mode 100644 index 0000000..f4e4bd1 --- /dev/null +++ b/fiz/vaje/8/1t.tsv @@ -0,0 +1,11 @@ +u i +10.16 18.0 +9.02 15.84 +8.03 14.11 +6.97 12.24 +6.05 10.61 +5.03 8.84 +4.04 7.07 +3.03 5.31 +2.03 3.56 +0.98 1.71 diff --git a/fiz/vaje/8/2.tsv b/fiz/vaje/8/2.tsv new file mode 100644 index 0000000..d3a9237 --- /dev/null +++ b/fiz/vaje/8/2.tsv @@ -0,0 +1,11 @@ +u i +1.01 1.19 +2.03 2.41 +2.98 3.55 +4.03 4.79 +5.02 5.95 +5.96 7.11 +6.97 8.29 +7.98 9.48 +9.00 10.70 +9.96 11.84 diff --git a/fiz/vaje/8/3.tsv b/fiz/vaje/8/3.tsv new file mode 100644 index 0000000..abe42c4 --- /dev/null +++ b/fiz/vaje/8/3.tsv @@ -0,0 +1,10 @@ +u i +9.97 54.2 +9.03 49.0 +8.09 43.9 +6.93 37.6 +6.00 32.5 +5.02 27.2 +4.03 21.8 +3.01 11.1 +1.04 5.6 diff --git a/fiz/vaje/8/dokument.lyx b/fiz/vaje/8/dokument.lyx new file mode 100644 index 0000000..24ffd2b --- /dev/null +++ b/fiz/vaje/8/dokument.lyx @@ -0,0 +1,655 @@ +#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 +\begin_inset Formula $\SI{560}{\ohm}\pm\SI{5}{\percent}$ +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset ERT +status open + +\begin_layout Plain Layout + + +\backslash +begin{multicols}{2} +\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 +<lyxtabular version="3" rows="11" columns="2"> +<features tabularvalignment="middle"> +<column alignment="center" valignment="top" width="0pt"> +<column alignment="center" valignment="top" width="0pt"> +<row> +<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none"> +\begin_inset Text + +\begin_layout Plain Layout + +\lang english +\begin_inset Formula $U\left[\si{\volt}\right]$ +\end_inset + + +\end_layout + +\end_inset +</cell> +<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none"> +\begin_inset Text + +\begin_layout Plain Layout +\begin_inset Formula $I\left[\si{\milli\ampere}\right]$ +\end_inset + + +\end_layout + +\end_inset +</cell> +</row> +<row> +<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none"> +\begin_inset Text + +\begin_layout Plain Layout + +\lang english +10.16 +\end_layout + +\end_inset +</cell> +<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none"> +\begin_inset Text + +\begin_layout Plain Layout + +\lang english +18.0 +\end_layout + +\end_inset +</cell> +</row> +<row> +<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none"> +\begin_inset Text + +\begin_layout Plain Layout + +\lang english +9.02 +\end_layout + +\end_inset +</cell> +<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none"> +\begin_inset Text + +\begin_layout Plain Layout + +\lang english +15.84 +\end_layout + +\end_inset +</cell> +</row> +<row> +<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none"> +\begin_inset Text + +\begin_layout Plain Layout + +\lang english +8.03 +\end_layout + +\end_inset +</cell> +<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none"> +\begin_inset Text + +\begin_layout Plain Layout + +\lang english +14.11 +\end_layout + +\end_inset +</cell> +</row> +<row> +<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none"> +\begin_inset Text + +\begin_layout Plain Layout + +\lang english +6.97 +\end_layout + +\end_inset +</cell> +<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none"> +\begin_inset Text + +\begin_layout Plain Layout + +\lang english +12.24 +\end_layout + +\end_inset +</cell> +</row> +<row> +<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none"> +\begin_inset Text + +\begin_layout Plain Layout + +\lang english +6.05 +\end_layout + +\end_inset +</cell> +<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none"> +\begin_inset Text + +\begin_layout Plain Layout + +\lang english +10.61 +\end_layout + +\end_inset +</cell> +</row> +<row> +<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none"> +\begin_inset Text + +\begin_layout Plain Layout + +\lang english +5.03 +\end_layout + +\end_inset +</cell> +<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none"> +\begin_inset Text + +\begin_layout Plain Layout + +\lang english +8.84 +\end_layout + +\end_inset +</cell> +</row> +<row> +<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none"> +\begin_inset Text + +\begin_layout Plain Layout + +\lang english +4.04 +\end_layout + +\end_inset +</cell> +<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none"> +\begin_inset Text + +\begin_layout Plain Layout + +\lang english +7.07 +\end_layout + +\end_inset +</cell> +</row> +<row> +<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none"> +\begin_inset Text + +\begin_layout Plain Layout + +\lang english +3.03 +\end_layout + +\end_inset +</cell> +<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none"> +\begin_inset Text + +\begin_layout Plain Layout + +\lang english +5.31 +\end_layout + +\end_inset +</cell> +</row> +<row> +<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none"> +\begin_inset Text + +\begin_layout Plain Layout + +\lang english +2.03 +\end_layout + +\end_inset +</cell> +<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none"> +\begin_inset Text + +\begin_layout Plain Layout + +\lang english +3.56 +\end_layout + +\end_inset +</cell> +</row> +<row> +<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none"> +\begin_inset Text + +\begin_layout Plain Layout + +\lang english +0.98 +\end_layout + +\end_inset +</cell> +<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none"> +\begin_inset Text + +\begin_layout Plain Layout + +\lang english +1.71 +\end_layout + +\end_inset +</cell> +</row> +</lyxtabular> + +\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 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} +\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[red, only marks] table [x=u, y=i, col sep=comma] {1d.csv}; +\end_layout + +\begin_layout Plain Layout + + +\backslash +addlegendentry{debel} +\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 +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 +\begin_inset Formula $\SI{270}{\ohm}\pm\SI{5}{\percent}$ +\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 diff --git a/fiz/vaje/8/makefile b/fiz/vaje/8/makefile new file mode 100644 index 0000000..5da4d97 --- /dev/null +++ b/fiz/vaje/8/makefile @@ -0,0 +1,6 @@ +default: 1d.csv 1t.csv 2.csv 3.csv +%.csv: %.tsv tab.py + ./tab.py , < $< > $@ +clean: + rm *.csv +.PHONY: default diff --git a/fiz/vaje/8/tab.py b/fiz/vaje/8/tab.py new file mode 100755 index 0000000..959558b --- /dev/null +++ b/fiz/vaje/8/tab.py @@ -0,0 +1,8 @@ +#!/usr/bin/python3 +import pandas +import sys +import math +b=pandas.read_csv("/dev/stdin", sep="\t") +b.index.name = "idx" +b = b.astype(float).round(6); +b.to_csv("/dev/stdout", sep=sys.argv[1][0]); |