- download the i4k file and the Code
- export projekt as a jar file
- copy files of lib64 into "Persönlicher Ordner"
- Run Projekt on Console:
To set the library path and run the projekt execute the following commands on the Command line:
export LD_LIBRARY_PATH=/home/student/:$LD_LIBRARY_PATH
run projekt with:
/usr/lib/jvm/java-1.8.0-openjdk-amd64/bin/java -jar test.jar
or:
/usr/lib/jvm/java-1.8.0-openjdk-amd64/bin/java -jar test.jar > Kondensatorabfall.txt
Then create a plotting gnuplot script that plots the data from this txt file.
U(t) = U0 * e ^ -t/RC
Tau = R * C R = 1 Ohm = 1V/A = 1 kgm²/A²s³ C = 1 F = 1 A²s⁴/kgm²
Tau = 1 kgm²A²s⁴/A²s³kgm² = 1 s
- 20% abweichung am Kondensator
- 5% am Wiederstand
Fitting:
- U0 1. Standardabweichung beträgt +/- 6.748
- R*C 1. Standardabweichung beträgt +/- 80.96
Unser Kondensator hat eine Genauigkeit von 20% und unser Wiederstand von 5%
100000Ω + 5% = 100000Ω + 5000Ω = 105000Ω
100µF + 20% = 100µF + 20µF = 120µF = 0.12F
Tau = 105000Ω * 0.12F = 12600s
100000Ω - 5% = 100000Ω - 5000Ω = 95000Ω
100µF - 20% = 100µF - 20µF = 80µF = 0.08F
Tau = 95000Ω * 0.08F = 7600s
Unser gefittete wert ist 11127.8s und ist damit ein Guter Messwert da er zwischen dem Maximalen und Minimalen Wert liegt:
12600s > 11127.8s > 7600s