diff options
author | Andreas Müller <andreas.mueller@ost.ch> | 2021-03-07 18:40:42 +0100 |
---|---|---|
committer | Andreas Müller <andreas.mueller@ost.ch> | 2021-03-07 18:40:42 +0100 |
commit | e89e7949b93d684c387db5062b2743c0207205ca (patch) | |
tree | e1902081db7f86cb0b95c69baffe9ce48781ccaa /buch/chapters/30-endlichekoerper/uebungsaufgaben/3004 | |
parent | add all the papers (diff) | |
download | SeminarMatrizen-e89e7949b93d684c387db5062b2743c0207205ca.tar.gz SeminarMatrizen-e89e7949b93d684c387db5062b2743c0207205ca.zip |
two new problems
Diffstat (limited to 'buch/chapters/30-endlichekoerper/uebungsaufgaben/3004')
-rw-r--r-- | buch/chapters/30-endlichekoerper/uebungsaufgaben/3004/matrix.m | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/buch/chapters/30-endlichekoerper/uebungsaufgaben/3004/matrix.m b/buch/chapters/30-endlichekoerper/uebungsaufgaben/3004/matrix.m new file mode 100644 index 0000000..ed85185 --- /dev/null +++ b/buch/chapters/30-endlichekoerper/uebungsaufgaben/3004/matrix.m @@ -0,0 +1,21 @@ +# +# matrix.m +# +# (c) 2021 Prof Dr Andreas Müller, OST Ostschweizer Fachhochschule +# + +n = 4 +N = 20; + +d = 0; +while d == 0 + A = round(N * rand(n,n)); + B = mod(A, 2); + d = det(B); + d = mod(d, 2); + d = d * B(1,1); +end +A +det(A) +B +det(B) |