Page MenuHomec4science

mu.py
No OneTemporary

File Metadata

Created
Sun, Dec 22, 13:19
#!/usr/bin/python3
import mesure
from mesure import Mesure
u0 = Mesure(1.54e-4, 3e-6)
U = [ ("Alu", Mesure(0.001528, 1e-4)), \
("Rame", Mesure(0.001532, 1e-4)), \
("Brass", Mesure(0.001534, 5e-5)), \
("Nichel", Mesure(0.009625, 2e-4))]
print(U)
for u in U:
mu_r = u[1] / u0
x = mu_r - 1
print("%s: u_r = %s, mu_r = %s, x = %s" % (u[0], str(u[1]), str(mu_r), str(x)))

Event Timeline