A頭

A尾 

B頭

B尾

C頭

C尾

A相磁場方向

合成磁場方向

B相磁場方向

C相磁場方向

R相

S相

T相 

正  轉:
R接A相
S接B相
T接C相

正轉

逆轉

逆  轉:
R接A相
S接C相
T接B相

direct = -1 (slider from -1 to 1, step 2)
a = 0.21 (slider from 0 to 6.3, step 0.01)
VA = Vector((1.2 * sin(a + 3.141592653589793), 0.0))
VC = Rotate(Vector[Vector[(1.2 * sin(a + direct * 2.0 * 3.141592653589793 / 3.0), 0.0)]], 5.23599)
VB = Rotate(Vector[Vector[(1.2 * sin(a - direct * 2.0 * 3.141592653589793 / 3.0), 0.0)]], 1.0472)
VS: VA + VB + VC
A = (2.9969066398654807, -1.679290783291238)
B = (2.996655895796135, 1.870424847483501)
u = Vector(A, B)
F = Point(xAxis)
e = Circle(F, 1.7)
G = Intersect(e, g, 1.0)
H = Intersect(e, f, 2.0)
I = Intersect(e, g, 2.0)
J = Intersect(e, f, 1.0)
h = Segment(G, I)
i = Segment(H, J)
K = (2.9995784947616113, 0.002361854863712959)
L = (9.030462801575254, -0.009848152405912497)
z = Vector(K, L)
U: (3.0 + 0.7 * a, 1.5)
D: (3.0 + 0.7 * a, -1.0 * 1.0 * 1.0 * 1.0 * 1.0 * 1.0 * 1.0 * 1.0 * 1.0 * 1.0 * 1.0 * 1.0 * 1.0 * 1.0 * 1.0 * 1.0 * 1.0 * 1.0 * 1.0 * 1.0 * 1.0 * 1.5)
j = Segment(U, D)
d = Circle(F, 2.5)
C = Point(e)
E = (-0.30917406967996997, 2.20430869311611)
M = (0.2678129079919087, 2.20430869311611)
N = Point(e)
多邊形1, c_1, e_1, m, n = Polygon(C, E, M, N)
O = Point(e)
P = (-0.2948889317476074, -2.1960380407565134)
Q = (0.27179470703727343, -2.1960380407565134)
V = Point(e)
多邊形2, o, p, q, v = Polygon(O, P, Q, V)
W = Point(e)
Z = (2.055816880738107, -0.8797068435070851)
A_1 = (1.764285618779851, -1.3378273980129163)
B_1 = Point(e)
多邊形3, z_1, a_1, b_1, w = Polygon(Z, A_1, B_1, W)
C_1 = Point(e)
D_1 = (-2.0504383415826037, 0.8854813155803872)
E_1 = (-1.7619448527466643, 1.3697382432692855)
F_1 = Point(e)
多邊形4, c_2, d_1, e_2, f_1 = Polygon(C_1, D_1, E_1, F_1)
G_1 = Point(e)
H_1 = (1.7746974495640744, 1.3380131135325066)
I_1 = (2.039987196555536, 0.8854813155803872)
J_1 = Point(e)
多邊形5, g_1, h_1, i_1, j_1 = Polygon(G_1, H_1, I_1, J_1)
K_1 = Point(e)
L_1 = (-2.0607416804696017, -0.8660862952092444)
M_1 = (-1.7722481916336623, -1.3400398840111447)
N_1 = Point(e)
多邊形6, k_1, l_1, m_1, n_1 = Polygon(K_1, L_1, M_1, N_1)
R: (3.0 + 0.7 * a, sin(a))
S: (3.0 + 0.7 * a, sin(a - 2.0 * 3.141592653589793 / 3.0))
T: (3.0 + 0.7 * a, sin(a + 2.0 * 3.141592653589793 / 3.0))
k = true
s = true
l = true
r = true
O_1 = Intersect(e, xAxis, 1.0)
P_1 = Intersect(e, xAxis, 2.0)
t = Segment(O_1, P_1)
文字2: "θ=  " + (a * 180.0 / 3.141592653589793) + "  度"
VO = Vector((3.0, 0.0))
α = Angle(VO, VS)
o_1 = Length(VS)
文字1: "合成磁場:大小= " + (Length[VS] / 1.2) + "  Hm;   方向=" + α
Q_1 = Intersect(e_1, c_1)
R_1 = Intersect(e, m, 1.0)
p_1 = Line(Q_1, R_1)
S_1 = Intersect(e, c_1, 1.0)
T_1 = Intersect(m, e_1)
q_1 = Line(S_1, T_1)
U_1 = Intersect(p_1, q_1)
V_1 = Point(q_1)
r_1 = Circle(U_1, V_1)
W_1 = Intersect(r_1, p_1, 2.0)
Z_1 = Intersect(r_1, q_1, 2.0)
A_2 = Intersect(r_1, p_1, 1.0)
s_1 = Segment(A_2, W_1)
t_1 = Segment(V_1, Z_1)
B_2 = Intersect(e, g_1, 1.0)
C_2 = Intersect(i_1, h_1)
a_2 = Segment(B_2, C_2)
D_2 = Intersect(h_1, g_1)
E_2 = Intersect(e, i_1, 1.0)
b_2 = Segment(D_2, E_2)
F_2 = Intersect(a_2, b_2)
G_2 = Point(a_2)
d_2 = Circle(F_2, G_2)
H_2 = Intersect(d_2, b_2, 1.0)
I_2 = Intersect(d_2, a_2, 2.0)
J_2 = Intersect(d_2, b_2, 2.0)
f_2 = Segment(I_2, G_2)
g_2 = Segment(H_2, J_2)
K_2 = Intersect(e, w, 1.0)
L_2 = Intersect(a_1, z_1)
h_2 = Segment(K_2, L_2)
M_2 = Intersect(w, z_1)
N_2 = Intersect(e, a_1, 1.0)
i_2 = Segment(M_2, N_2)
O_2 = Intersect(h_2, i_2)
P_2 = Point(i_2)
k_2 = Circle(O_2, P_2)
Q_2 = Intersect(k_2, h_2, 1.0)
R_2 = Intersect(k_2, h_2, 2.0)
S_2 = Intersect(k_2, i_2, 2.0)
T_2 = Intersect(e, o, 1.0)
U_2 = Intersect(q, p)
j_2 = Segment(T_2, U_2)
V_2 = Intersect(e, q, 1.0)
W_2 = Intersect(p, o)
l_2 = Segment(V_2, W_2)
Z_2 = Intersect(j_2, l_2)
A_3 = Point(l_2)
p_2 = Circle(Z_2, A_3)
B_3 = Intersect(p_2, j_2, 2.0)
C_3 = Intersect(p_2, j_2, 1.0)
D_3 = Intersect(p_2, l_2, 2.0)
m_2 = Segment(C_3, B_3)
n_2 = Segment(A_3, D_3)
q_2 = Segment(S_2, P_2)
r_2 = Segment(Q_2, R_2)
E_3 = Intersect(l_1, k_1)
F_3 = Intersect(e, m_1, 1.0)
s_2 = Segment(E_3, F_3)
G_3 = Intersect(e, k_1, 1.0)
H_3 = Intersect(m_1, l_1)
t_2 = Segment(G_3, H_3)
I_3 = Intersect(s_2, t_2)
J_3 = Point(s_2)
c_3 = Circle(I_3, J_3)
K_3 = Intersect(c_3, t_2, 1.0)
L_3 = Intersect(c_3, s_2, 2.0)
M_3 = Intersect(c_3, t_2, 2.0)
a_3 = Segment(L_3, J_3)
b_3 = Segment(K_3, M_3)
N_3 = Intersect(e_2, d_1)
O_3 = Intersect(e, c_2, 1.0)
d_3 = Segment(N_3, O_3)
P_3 = Intersect(d_1, c_2)
Q_3 = Intersect(e, e_2, 1.0)
e_3 = Segment(P_3, Q_3)
R_3 = Intersect(d_3, e_3)
S_3 = Point(e_3)
f_3 = Circle(R_3, S_3)
T_3 = Intersect(f_3, d_3, 1.0)
U_3 = Intersect(f_3, e_3, 2.0)
V_3 = Intersect(f_3, d_3, 2.0)
g_3 = Segment(T_3, V_3)
h_3 = Segment(U_3, S_3)
W_3 = Intersect(e, o, 2.0)
Z_3 = Intersect(q, p)
i_3 = Segment(W_3, Z_3)
A_4 = Intersect(e, q, 1.0)
B_4 = Intersect(p, o)
j_3 = Segment(A_4, B_4)
C_4 = Intersect(i_3, j_3)
D_4 = Point(j_3)
k_3 = Circle(C_4, D_4)
E_4 = Intersect(k_3, i_3, 1.0)
F_4 = Intersect(k_3, j_3, 2.0)
G_4 = Intersect(k_3, i_3, 2.0)
l_3 = Segment(E_4, G_4)
m_3 = Segment(F_4, D_4)
H_4 = Intersect(e_2, d_1)
I_4 = Intersect(e, c_2, 1.0)
n_3 = Segment(H_4, I_4)
J_4 = Intersect(e, e_2, 2.0)
K_4 = Intersect(d_1, c_2)
p_3 = Segment(J_4, K_4)
L_4 = Intersect(n_3, p_3)
M_4 = Point(p_3)
q_3 = Circle(L_4, M_4)
N_4 = Intersect(q_3, n_3, 1.0)
O_4 = Intersect(q_3, p_3, 2.0)
P_4 = Intersect(q_3, n_3, 2.0)
r_3 = Segment(O_4, M_4)
s_3 = Segment(N_4, P_4)
Q_4 = Intersect(d_1, c_2)
R_4 = Intersect(e, e_2, 1.0)
t_3 = Segment(Q_4, R_4)
S_4 = Intersect(e_2, d_1)
T_4 = Intersect(e, c_2, 1.0)
a_4 = Segment(S_4, T_4)
U_4 = Point(t_3)
c_4 = Circle(R_3, U_4)
V_4 = Intersect(c_4, a_4, 1.0)
W_4 = Intersect(c_4, a_4, 2.0)
Z_4 = Intersect(c_4, t_3, 2.0)
b_4 = Segment(U_4, Z_4)
d_4 = Segment(V_4, W_4)
judge: (direct + 1.0) / 2.0