Skip to content
Extraits de code Groupes Projets
Valider 5ea5d0af rédigé par Martin Delcourt's avatar Martin Delcourt
Parcourir les fichiers

fixing typo

parent 56edb3f1
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
......@@ -31,11 +31,11 @@ def V(x,y, z0 = 1, Q = 1, L = 10):
return integral(vz,0,2*z0,precision = 1e-2,silent = False)
distance = 0.2
distance = 0.1
potential = V(0,0,distance/2)
theory = distance*4*math.pi
potential = V(0,0,distance)
theory = distance*8*math.pi
print("In the center : potential = {} - theory = {}; diff = {:.2f}%".format(potential,theory, 200*(potential-theory)/(potential + theory)))
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter