From a9060f8490c8334d7308963f494ad51b19ab253a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anton=20Luka=20=C5=A0ijanec?= Date: Wed, 25 Jan 2023 23:36:02 +0100 Subject: fizikalni vaji 7 in 8 in nekaj mat in inf --- citati.bib | 7 + fiz/vaje/7/.gitignore | 2 + fiz/vaje/7/debela.tsv | 11 + fiz/vaje/7/dokument.lyx | 1136 +++++++++++++++++++++++++++++++++++++++++++++++ fiz/vaje/7/makefile | 6 + fiz/vaje/7/tab.py | 10 + fiz/vaje/7/tanka.tsv | 12 + fiz/vaje/8/.gitignore | 5 + fiz/vaje/8/1d.tsv | 11 + fiz/vaje/8/1t.tsv | 11 + fiz/vaje/8/2.tsv | 11 + fiz/vaje/8/3.tsv | 10 + fiz/vaje/8/dokument.lyx | 655 +++++++++++++++++++++++++++ fiz/vaje/8/makefile | 6 + fiz/vaje/8/tab.py | 8 + inf/rn/viri.txt | 2 + mat/3test.lyx | 1003 +++++++++++++++++++++++++++++++++++++++++ 17 files changed, 2906 insertions(+) create mode 100644 citati.bib create mode 100644 fiz/vaje/7/.gitignore create mode 100644 fiz/vaje/7/debela.tsv create mode 100644 fiz/vaje/7/dokument.lyx create mode 100644 fiz/vaje/7/makefile create mode 100755 fiz/vaje/7/tab.py create mode 100644 fiz/vaje/7/tanka.tsv create mode 100644 fiz/vaje/8/.gitignore create mode 100644 fiz/vaje/8/1d.tsv create mode 100644 fiz/vaje/8/1t.tsv create mode 100644 fiz/vaje/8/2.tsv create mode 100644 fiz/vaje/8/3.tsv create mode 100644 fiz/vaje/8/dokument.lyx create mode 100644 fiz/vaje/8/makefile create mode 100755 fiz/vaje/8/tab.py create mode 100644 inf/rn/viri.txt create mode 100644 mat/3test.lyx diff --git a/citati.bib b/citati.bib new file mode 100644 index 0000000..133a59d --- /dev/null +++ b/citati.bib @@ -0,0 +1,7 @@ +@online{hpstrings, + author = {Nave, Carl Rod}, + title = {{HyperPhysics Concepts: Standing Waves on a String}}, + year = {2016}, + url = {http://hyperphysics.phy-astr.gsu.edu./hbase/Waves/string.html}, + urldate = {2016-11-09} +} 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 + + + + + + +\begin_inset Text + +\begin_layout Plain Layout +\begin_inset Formula $\frac{\lambda}{2}\left[\si{\meter}\right]$ +\end_inset + + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +\begin_inset Formula $m\left[\si{\gram}\right]$ +\end_inset + + +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Plain Layout +0,14 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +9,5 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Plain Layout +0,245 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +29,5 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Plain Layout +0,28 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +39,5 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Plain Layout +0,32 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +49,5 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Plain Layout +0,34 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +59,5 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Plain Layout +0,37 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +69,5 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Plain Layout +0,4 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +79,5 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Plain Layout +0,42 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +89,5 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Plain Layout +0,435 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +99,5 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Plain Layout +0,47 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +109,5 +\end_layout + +\end_inset + + + + +\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 + + + + + + +\begin_inset Text + +\begin_layout Plain Layout +\begin_inset Formula $\frac{\lambda}{2}\left[\si{\meter}\right]$ +\end_inset + + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +\begin_inset Formula $m\left[\si{\gram}\right]$ +\end_inset + + +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Plain Layout +0,33 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +9,5 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Plain Layout +0,475 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +19,5 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Plain Layout +0,59 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +29,5 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Plain Layout +0,7 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +39,5 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Plain Layout +0,77 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +49,5 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Plain Layout +0,85 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +59,5 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Plain Layout +0,92 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +69,5 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Plain Layout +0,97 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +79,5 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Plain Layout +1,04 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +89,5 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Plain Layout +1,09 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +99,5 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Plain Layout +1,16 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +109,5 +\end_layout + +\end_inset + + + + +\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 + + + + + + +\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 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]); diff --git a/inf/rn/viri.txt b/inf/rn/viri.txt new file mode 100644 index 0000000..7a9694a --- /dev/null +++ b/inf/rn/viri.txt @@ -0,0 +1,2 @@ +https://www.usenix.org/system/files/conference/woot15/woot15-paper-adamsky.pdf +https://www.researchgate.net/publication/224362886_Misusing_Kademlia_Protocol_to_Perform_DDoS_Attacks diff --git a/mat/3test.lyx b/mat/3test.lyx new file mode 100644 index 0000000..72b4083 --- /dev/null +++ b/mat/3test.lyx @@ -0,0 +1,1003 @@ +#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 +Plinski zakoni +\end_layout + +\begin_layout Author + +\noun on +Anton Luka Šijanec +\end_layout + +\begin_layout Date +14. + december 2022 +\end_layout + +\begin_layout Abstract +Poročilo šeste vaje pri predmetu +\noun on +F41 +\noun default + na Gimnaziji Bežigrad v 4. + letniku. + Vaja je potekala 10. + novembra 2022. +\end_layout + +\begin_layout Standard +\begin_inset CommandInset toc +LatexCommand tableofcontents + +\end_inset + + +\end_layout + +\begin_layout Section +Uvod +\end_layout + +\begin_layout Standard +Tlak v plinu je odvisen od prostornine plina, njegove temperature in mase + plina. + Če opazujemo ves čas isto maso plina in poskrbimo, da je ena od preostalih + spremenljivk konstantna, lahko ugotovimo medsebojno odvisnost še zadnjih + dveh spremenljivk. +\end_layout + +\begin_layout Section +Nalogi +\end_layout + +\begin_layout Subsection +Boylov zakon +\end_layout + +\begin_layout Standard +Če ob konstantni temperaturi plina spreminjamo njegovo prostornino, se ob + tem spreminja tudi tlak plina. +\end_layout + +\begin_layout Subsubsection +Navodilo +\end_layout + +\begin_layout Standard +Za dano maso plina v injekcijski brizgi ugotovi, kako je tlak odvisen od + njegove prostornine. +\end_layout + +\begin_layout Subsubsection +Potrebščine +\end_layout + +\begin_layout Itemize +inkejcijska brizga +\end_layout + +\begin_layout Itemize +merilnik tlaka +\end_layout + +\begin_layout Itemize +računalniški vmesnik +\end_layout + +\begin_layout Itemize +program LoggerPro +\end_layout + +\begin_layout Subsubsection +Potek dela +\end_layout + +\begin_layout Standard +Prostornino zraka v brizgi nastavi na +\begin_inset Formula $\SI{4}{\milli\meter}$ +\end_inset + + in nato privij brizgo na merilnik tlaka. + Način merjenja v programu LoggerPro (Data Collection) nastavi na Events + with entry. + PAZI! Vse spremembe prostornine delaj počasi, da bo temperatura zraka v + brizgi ves čas čim bolj enaka. + Raztegni prostornino zraka v brizgi na +\begin_inset Formula $\SI{20}{\milli\meter}$ +\end_inset + +, začni z meritvijo (Start) in zabeleži prvo vrednost tlaka pri tej prostornini. + Zmanjšuj prostornino po +\begin_inset Formula $\SI{2}{\milli\liter}$ +\end_inset + + do +\begin_inset Formula $\SI{4}{\milli\liter}$ +\end_inset + + ter vsakič zabeleži tlak. + Po zabeleženi zadnji meritvi ne pozabi končati meritve (Stop). +\end_layout + +\begin_layout Standard +\begin_inset Float table +placement H +wide false +sideways false +status open + +\begin_layout Plain Layout +\align center +\begin_inset Tabular + + + + + + +\begin_inset Text + +\begin_layout Plain Layout +\begin_inset Formula $V\left[\si{\milli\liter}\right]$ +\end_inset + + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +\begin_inset Formula $p\left[\si{\kilo\pascal}\right]$ +\end_inset + + +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Plain Layout +4 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +105 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Plain Layout +3 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +131 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Plain Layout +2 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +176 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Plain Layout +5 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +83 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Plain Layout +6 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +70 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Plain Layout +7 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +61 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Plain Layout +8 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +53 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Plain Layout +9 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +48 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Plain Layout +10 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +42 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Plain Layout +15 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +29 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Plain Layout +20 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +22 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Plain Layout +12 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +36 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Plain Layout +17 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +26 +\end_layout + +\end_inset + + + + +\end_inset + + +\end_layout + +\begin_layout Plain Layout +\begin_inset Caption Standard + +\begin_layout Plain Layout +Meritve za prvo nalogo +\end_layout + +\end_inset + + +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +Nariši graf +\begin_inset Formula $p(V)$ +\end_inset + + za celotno spremembo. +\end_layout + +\begin_layout Standard +Kakšna je odvisnost? +\begin_inset Formula +\[ +pV=nRT=\text{{konstanta}} +\] + +\end_inset + + +\end_layout + +\begin_layout Standard +Svoj odgovor na prejšnje vprašanje dokaži z linearizacijo grafa +\begin_inset Formula $p(V)$ +\end_inset + +. +\end_layout + +\begin_layout Standard +\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=$p$, domain=0:180, ytick pos=left, samples=25 +6, xlabel=$V$, xtick pos=bottom, xmin=0, ymax=200, ymin=0] +\end_layout + +\begin_layout Plain Layout + + +\backslash +addplot[only marks] table [x=V, y=p] {boylov.tsv}; +\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 [x=iV, y=p] {boylov.tsv}; +\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 tlaka od prostornine. +\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 + +fit (x*p) +\begin_inset Quotes gld +\end_inset + +boylov.tsv" using 4:3 via p +\end_layout + +\begin_layout Plain Layout + + +\backslash +end{lstlisting} +\end_layout + +\end_inset + + +\begin_inset Formula +\[ +p=386,934\pm0,498 +\] + +\end_inset + + +\end_layout + +\begin_layout Subsection +Absolutna ničla +\end_layout + +\begin_layout Subsubsection +Navodilo +\end_layout + +\begin_layout Standard +Ugotovi zvezo med tlakom in temperaturo (pri konstantni prostornini) za + zrak v stekleni bučki ter iz meritev določi absolutno ničlo. +\end_layout + +\begin_layout Subsubsection +Potrebščine +\end_layout + +\begin_layout Itemize +steklena bučka +\end_layout + +\begin_layout Itemize +stojalo s prižemami +\end_layout + +\begin_layout Itemize +električna grelna posoda +\end_layout + +\begin_layout Itemize +računalniški vmesnik z računalnikom +\end_layout + +\begin_layout Itemize +merilnik tlaka +\end_layout + +\begin_layout Itemize +merilnik temperature +\end_layout + +\begin_layout Itemize +čaša za vodo +\end_layout + +\begin_layout Subsubsection +Potek dela +\end_layout + +\begin_layout Standard +Preveri, če je v posodi voda do vrha bučke z zrakom (vrat bučke ne sme biti + v vodi!). + Če ni, dolij ustrezno količino vode. + Priključi merilnika za tlak in temperaturo na računalniški vmesnik. + Poženi program LoggerPro. + Ker bomo gledali odvisnost tlaka od temperature, bomo potrebovali samo + en graf, torej raztegni zgornji graf čez spodnjega. + Izberi način zajemanja podatkov (gumb Data Collection) +\begin_inset Quotes gld +\end_inset + +selected events +\begin_inset Quotes grd +\end_inset + + ter izberi količino na navpični osi tlak in količino na vodoravni osi temperatu +ro. + Začneš meritev (gumb Collect) ter shraniš prvo meritev (gumb Keep). + Vklopiš grelec in počakaš, da se temperatura dvigne za približno +\begin_inset Formula $\SI{10}{\degreeCelsius}$ +\end_inset + +. + Nato grelec ugasneš ter počakaš ( +\begin_inset Formula $\SI{5}{\second}$ +\end_inset + + do +\begin_inset Formula $\SI{10}{\second}$ +\end_inset + +), da se temperatura ustali. + Zapišeš novo meritev (gumb Keep). + Postopek iz zadnjega stavka ponavljaš, dokler ni temperatura približno + +\begin_inset Formula $\SI{90}{\degreeCelsius}$ +\end_inset + +. + Takrat meritev zaključiš (gumb Stop). + S programom preveri, kakšna je zveza med tlakom in temperaturo, ter iz + grafa določi absolutno ničlo. +\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=$p$, domain=-300:100, ytick pos=left, + samples=256, xlabel=$T$, xtick pos=bottom, xmin=-300, xmax=100] +\end_layout + +\begin_layout Plain Layout + + +\backslash +addplot[only marks] table [x=T, y=p] {absolutna.tsv}; +\end_layout + +\begin_layout Plain Layout + +% +\backslash +addplot[green] (x, {x*(0.316881+0.007238)}); +\end_layout + +\begin_layout Plain Layout + +% +\backslash +addplot[green] (x, {x*(0.620649-0.007238)}); +\end_layout + +\begin_layout Plain Layout + + +\backslash +addplot[red] (x, {x*(0.316881)+91.852}); +\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-1" + +\end_inset + +Odvisnost tlaka od temperature. +\end_layout + +\end_inset + + +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset ERT +status open + +\begin_layout Plain Layout + + +\backslash +begin{lstlisting} +\end_layout + +\begin_layout Plain Layout + +fit (k*(x+n)) +\begin_inset Quotes gld +\end_inset + +absolutna.tsv" using 2:3 via k, n +\end_layout + +\begin_layout Plain Layout + + +\backslash +end{lstlisting} +\end_layout + +\end_inset + + +\begin_inset Formula +\[ +n=T_{0}=\SI{289,863}{\degreeCelsius}\pm\SI{0,5144}{\degreeCelsius} +\] + +\end_inset + + +\end_layout + +\begin_layout Subsubsection +Komentar +\end_layout + +\begin_layout Standard +\begin_inset Formula $\sigma$ +\end_inset + + je precej majhna, torej so podatki zelo točni, niso pa natančni, od dejanske + absolutne ničle občutno odstopajo. + To pa zato, ker je bilo za dosego večje točnosti izvedenih 655 meritev, + med vsako meritvo pa je pretekla le ena sekunda. + Graf je zato zamaknjen, saj se plin ni v celoti ogrel na temperaturo vode, + termometer pa je bil v vodi, ki se je segrela prej kot plin. + S čakanjem na ustaljenost temperature bi težavo natančnosti za ceno manjše + točnosti odpravili. +\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]{boy.py} +\end_layout + +\end_inset + + +\end_layout + +\end_body +\end_document -- cgit v1.2.3