A=
B=
C=
d=
Press on the following formulas to do the calculation:
Description at Wikipedia
Matrices
Mathematics
Online calculators