Erste Seite Zurück Weiter Letzte Seite Übersicht Bilder

Beispiel Strom-Spannungsmessung (2)

# Measurements: Ohm's Law

# Prec.: U: +\-0.015V, I: +\-0.015A

# U[V] I[A]

0.15 0.14

0.25 0.22

0.40 0.36

0.50 0.48

0.60 0.53

0.70 0.64

0.75 0.65

0.80 0.74

0.90 0.81

Text-Datei

DataOhmsLaw.dat

import numpy as np

import matplotlib.pyplot as plt

#read columns from file

infile="DataOhmsLaw.dat"

U, I = np.loadtxt(infile,unpack=True)

# plot the results

fig, ax=plt.subplots(1,1)

ax.errorbar(U, I, fmt='o')

ax.set_xlabel('U')

ax.set_ylabel('I(U)')

plt.show()

Python Code

Grafik

Frage:

Gilt das Ohm'sche Gesetz ?

I=U/R = G R für

R bzw. G = const ?

Messreihe: