diff options
Diffstat (limited to '413/CH8/EX8.2')
-rw-r--r-- | 413/CH8/EX8.2/Example_8_2.sce | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/413/CH8/EX8.2/Example_8_2.sce b/413/CH8/EX8.2/Example_8_2.sce new file mode 100644 index 000000000..0bb592279 --- /dev/null +++ b/413/CH8/EX8.2/Example_8_2.sce @@ -0,0 +1,47 @@ +clc
+clear
+A=[-4 1 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0
+1 -4 1 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0
+0 1 -4 1 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0
+0 0 1 -4 1 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0
+0 0 0 1 -4 1 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0
+0 0 0 0 1 -4 1 0 0 0 0 0 1 0 0 0 0 0 0 0 0
+0 0 0 0 0 1 -4 1 0 0 0 0 0 1 0 0 0 0 0 0 0
+1 0 0 0 0 0 0 -4 1 0 0 0 0 0 1 0 0 0 0 0 0
+0 1 0 0 0 0 0 1 -4 1 0 0 0 0 0 1 0 0 0 0 0
+0 0 1 0 0 0 0 0 1 -4 1 0 0 0 0 0 1 0 0 0 0
+0 0 0 1 0 0 0 0 0 1 -4 1 0 0 0 0 0 1 0 0 0
+0 0 0 0 1 0 0 0 0 0 1 -4 1 0 0 0 0 0 1 0 0
+0 0 0 0 0 1 0 0 0 0 0 1 -4 1 0 0 0 0 0 1 0
+0 0 0 0 0 0 1 0 0 0 0 0 1 -4 1 0 0 0 0 0 1
+0 0 0 0 0 0 0 1 0 0 0 0 0 0 -4 1 0 0 0 0 0
+0 0 0 0 0 0 0 0 1 0 0 0 0 0 1 -4 1 0 0 0 0
+0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 1 -4 1 0 0 0
+0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 1 -4 1 0 0
+0 0 0 0 0 0 0 0 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