Anda di halaman 1dari 4

Resolviendo el sistema de ecuaciones.

In[2]:= ϵ = 8.8541878176 * 10-12  (78.5)

Out[2]= 6.95054 × 10-10

In[1]:= 6.950537436815999`*^-10

Out[1]= 6.95054 × 10-10

In[3]:= v1 = 0.567
v2 = - 1.253
v3 = 1.325
r11 = 7 * 10-2 
r12 = 11 * 10-2 
r21 = 10 * 10-2 
r22 = 4 * 10-2 
r31 = 4 * 10-2 
r32 = 11 * 10-2 

Out[3]= 0.567

Out[4]= - 1.253

Out[5]= 1.325

7
Out[6]=
100
11
Out[7]=
100
1
Out[8]=
10
1
Out[9]=
25
1
Out[10]=
25
11
Out[11]=
100

q1 q2
In[12]:= NSolve + + c ⩵ v1,
4 π ϵ r11 4 π ϵ r12
q1 q2 q1 q2
+ + c ⩵ v2, + + c ⩵ v3, {q1, q2, c}
4 π ϵ r21 4 π ϵ r22 4 π ϵ r31 4 π ϵ r32
Out[12]= q1 → 6.17923 × 10-10 , q2 → - 8.32743 × 10-10 , c → 0.423076
2 Calculos.nb

Potencial Eléctrico

In[13]:= q1 = 6.179228186619227 * 10-10 


q2 = (- 8.327434153904297 * 10 ^ - 10)
c = (0.42307619047619066)
1
k=
4πϵ
Out[13]= 6.17923 × 10-10

Out[14]= - 8.32743 × 10-10

Out[15]= 0.423076

Out[16]= 1.14491 × 108

k q1 k q2
In[17]:= ϕ[x_, y_] = 1
+ 1
+c
(x + 5)2 + y2  2 (x - 5)2 + y2  2
0.0953417 0.0707467
Out[17]= 0.423076 - +
(- 5 + x)2 + y2 (5 + x)2 + y2

Gradiente del potencial


In[20]:= - Grad[ϕ[x, y], {x, y}]
0.0953417 (- 5 + x) 0.0707467 (5 + x) 0.0953417 y 0.0707467 y
Out[20]= - + ,- + 
3/2 3/2 3/2 3/2
(- 5 + x)2 + y2  (5 + x)2 + y2  (- 5 + x)2 + y2  (5 + x)2 + y2 
Calculos.nb 3

In[21]:= g1 = StreamPlot[Evaluate[- Grad[ϕ[x, y], {x, y}]], {x, - 10, 10}, {y, - 10, 10},
AxesLabel → {"x", "y"}, PlotLegends → "Gráfico del campo Eléctrico"]

10

0
Out[21]= Gráfico del campo Eléctrico

-5

-10

-10 -5 0 5 10

In[22]:= g2 = ContourPlot[ϕ[x, y], {x, - 10, 10}, {y, - 10, 10}, AxesLabel → {"x", "y"},
PlotLegends → "Gráfico de las superficies equipotenciales", Contours → 60]

10

0
Out[22]= Gráfico de las superficies equipotenciales

-5

-10
-10 -5 0 5 10
4 Calculos.nb

In[23]:= Show[g2, g1]


10

0 Gráfico de las superficies equipotenciales


Out[23]=
Gráfico del campo Eléctrico

-5

-10
-10 -5 0 5 10

Anda mungkin juga menyukai