a11

a12

a13

a21

a22

a23

a31

a32

a33

(

)

(

)

C11

C12

C13

C21

C22

C23

C31

C32

C33

=

(

)

(

)

Matrix Multiplication

plz click buttons C11 ,C12 etc
Can Input values in A/B to change entries....

A

B

by Benny Varghese
PGT Maths
JNV Pathanamthitta
Kerala

Θ

Θ

Θ

Θ

Θ

Θ

Θ

Θ

Θ

(

)

=

a = 11 (slider from -9999 to 9999, step 1)
inputBox1 = Textfield(a)
b = 2 (slider from -9999 to 9999, step 1)
inputBox2 = Textfield(b)
c = 3 (slider from -9999 to 9999, step 1)
inputBox3 = Textfield(c)
d = 4 (slider from -9999 to 9999, step 1)
inputBox4 = Textfield(d)
e = 5 (slider from -9999 to 9999, step 1)
inputBox6 = Textfield(e)
f = 6 (slider from -9999 to 9999, step 1)
inputBox5 = Textfield(f)
g = 7 (slider from -9999 to 9999, step 1)
inputBox7 = Textfield(g)
h = 8 (slider from -9999 to 9999, step 1)
inputBox8 = Textfield(h)
i = 9 (slider from -9999 to 9999, step 1)
inputBox9 = Textfield(i)
A3 = 0
B3 = 0
C3 = 0
A4 = 0
B4 = 0
C4 = 0
A5 = 0
B5 = 0
C5 = 0
matrix1: {{a, b, c}, {d, e, f}, {g, h, i}}
j = 9 (slider from -9999 to 9999, step 1)
k = 8 (slider from -9999 to 9999, step 1)
l = 7 (slider from -9999 to 9999, step 1)
m = 6 (slider from -9999 to 9999, step 1)
n = 5 (slider from -9999 to 9999, step 1)
o = 4 (slider from -9999 to 9999, step 1)
p = 1 (slider from -9999 to 9999, step 1)
q = 3 (slider from -9999 to 9999, step 1)
r = 2 (slider from -9999 to 9999, step 1)
x10 = Textfield(j)
x11 = Textfield(k)
x12 = Textfield(l)
x13 = Textfield(m)
x14 = Textfield(n)
x15 = Textfield(o)
x16 = Textfield(p)
x17 = Textfield(q)
x18 = Textfield(r)
matrix2: {{j, k, l}, {m, n, o}, {q, r, p}}
A = (-0.7, 6.64)
B = (4.46, 6.6)
u = Vector(A, B)
A_1 = (-0.38, 5.28)
B_1 = (4.78, 5.24)
u_1 = Vector(A_1, B_1)
A_2 = (-0.4, 3.92)
B_2 = (4.76, 3.88)
u_2 = Vector(A_2, B_2)
C = (9.44, 6.16)
D = (9.48, 2.92)
v = Vector(C, D)
C_1 = (11.92, 6.22)
D_1 = (11.96, 2.98)
v_1 = Vector(C_1, D_1)
C_2 = (14.4, 6.26)
D_2 = (14.44, 3.02)
v_2 = Vector(C_2, D_2)
s: 1
t: 1
matrix3: (matrix1 * matrix2)
E = (4.04, -0.34)
F = (5.96, -0.4)
G = (5.48, -0.06)
H = (12.62, 0.48)
I = (15.66, 0.44)
J = (14.48, 0.98)
c_1 = Ellipse(H, I, J)
H_1 = (12.72, -0.7)
I_1 = (15.76, -0.74)
J_1 = (14.58, -0.2)
c_2 = Ellipse(H_1, I_1, J_1)
H_2 = (15.64, -0.68)
I_2 = (18.68, -0.72)
J_2 = (17.5, -0.18)
c_3 = Ellipse(H_2, I_2, J_2)
H_3 = (18.68, -0.7)
I_3 = (21.72, -0.74)
J_3 = (20.54, -0.2)
c_4 = Ellipse(H_3, I_3, J_3)
H_4 = (12.68, -1.96)
I_4 = (15.72, -2)
J_4 = (14.54, -1.46)
c_5 = Ellipse(H_4, I_4, J_4)
H_5 = (15.68, -1.96)
I_5 = (18.72, -2)
J_5 = (17.54, -1.46)
c_6 = Ellipse(H_5, I_5, J_5)
H_6 = (18.6, -1.8)
I_6 = (21.64, -1.84)
J_6 = (20.46, -1.3)
c_7 = Ellipse(H_6, I_6, J_6)
H_7 = (18.68, 0.54)
I_7 = (21.72, 0.5)
J_7 = (20.54, 1.04)
c_8 = Ellipse(H_7, I_7, J_7)
H_8 = (15.54, 0.52)
I_8 = (18.58, 0.48)
J_8 = (17.4, 1.02)
c_9 = Ellipse(H_8, I_8, J_8)
text5: "(" + (LaTeX[a]) + ")(" + (LaTeX[j]) + ")+(" + (LaTeX[b]) + ")(" + (LaTeX[m]) + ")+(" + (LaTeX[c]) + ")(" + (LaTeX[q]) + ")"
p11 = Element(matrix3, 1, 1)
p12 = Element(matrix3, 1, 2)
p13 = Element(matrix3, 1, 3)
p21 = Element(matrix3, 2, 1)
p22 = Element(matrix3, 2, 2)
p23 = Element(matrix3, 2, 3)
p31 = Element(matrix3, 3, 1)
p32 = Element(matrix3, 3, 2)
p33 = Element(matrix3, 3, 3)
text7: "" + p11 + ""
text8: "" + p12 + ""
text9: "" + p13 + ""
text10: "" + p21 + ""
text11: "" + p22 + ""
text12: "" + p23 + ""
text13: "" + p31 + ""
text14: "" + p32 + ""
text15: "" + p33 + ""
text6: "(" + (LaTeX[a]) + ")(" + (LaTeX[k]) + ")+(" + (LaTeX[b]) + ")(" + (LaTeX[n]) + ")+(" + (LaTeX[c]) + ")(" + (LaTeX[r]) + ")"
text4: "(" + (LaTeX[a]) + ")(" + (LaTeX[l]) + ")+(" + (LaTeX[b]) + ")(" + (LaTeX[o]) + ")+(" + (LaTeX[c]) + ")(" + (LaTeX[p]) + ")"
text16: "(" + d + ")(" + j + ")+(" + e + ")(" + m + ")+(" + f + ")(" + q + ")"
text17: "(" + d + ")(" + k + ")+(" + e + ")(" + n + ")+(" + f + ")(" + r + ")"
text18: "(" + d + ")(" + l + ")+(" + e + ")(" + o + ")+(" + f + ")(" + p + ")"
text19: "(" + g + ")(" + j + ")+(" + h + ")(" + m + ")+(" + i + ")(" + q + ")"
text20: "(" + g + ")(" + k + ")+(" + h + ")(" + n + ")+(" + i + ")(" + r + ")"
text21: "(" + g + ")(" + l + ")+(" + h + ")(" + o + ")+(" + i + ")(" + p + ")"
matrix4 = Invert(matrix1)
w = Determinant(matrix1)
matrix5: (w * matrix4)