+ 1

Please answer anyone

Write a program to find the inverse of a 3×3 matrix over the field ? entered by the user, if the determinant of the matrix is non-zero. The program also finds the sum of the square of the diagonal elements under modulo 23 of the inverse of the given matrix.

18th Dec 2020, 4:36 AM
Priyanka Thakur
Priyanka Thakur - avatar
2 odpowiedzi
+ 3
Try double array like double input[3][3]....use two for loops to get all input using cin.. Rest all is simple maths of finding determinant which you will find formula on Google if not aware.... Only tricky part of problem is modulo which is again maths... Give this a try and share your code if you still face any problem
18th Dec 2020, 5:41 AM
Ketan Lalcheta
Ketan Lalcheta - avatar
+ 1
What's the summary of what your looking for in math terms?
18th Dec 2020, 1:10 PM
Abdul Lee🎌🇳🇬
Abdul Lee🎌🇳🇬 - avatar