Please i need the codes for calculating or finding the determinant of 2*2 matrix | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Please i need the codes for calculating or finding the determinant of 2*2 matrix

Coders pls am new both to the forum and to programming, kind help me with the codes ASAP. Thanks

24th May 2017, 10:28 PM
IB Maurice
IB Maurice - avatar
1 Answer
+ 3
if you represent it in a 2×2 rray, then d = m[0][0]*m[1][1]-m[0][1]*m[1][0] , where m is the matrix
24th May 2017, 10:41 PM
Szabó Gábor
Szabó Gábor - avatar