Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Public Function Eigen3x3(MatrixA As Variant) As Variant
Dim a As Double, b As Double, c As Double
Dim d As Double, e As Double, f As Double
Dim g As Double, h As Double, i As Double
Dim ac As Double, bc As Double, cc As Double, dc As Double
MatrixA = MatrixA.Value2
a = MatrixA(1, 1)
b = MatrixA(1, 2)
c = MatrixA(1, 3)
d = MatrixA(2, 1)
e = MatrixA(2, 2)
f = MatrixA(2, 3)
g = MatrixA(3, 1)
h = MatrixA(3, 2)
i = MatrixA(3, 3)
ac = -1
bc = a + e + i
cc = f * h + b * d + c * g - a * e - a * i - e * i
dc = b * f * g + c * d * h - a * f * h - b * d * i - c * e * g + a * e * i
Eigen3x3 = CubicC(ac, bc, cc, dc)
End Function