summaryrefslogtreecommitdiff
path: root/62/CH7/EX7.26
diff options
context:
space:
mode:
Diffstat (limited to '62/CH7/EX7.26')
-rwxr-xr-x62/CH7/EX7.26/ex_7_26.sce12
1 files changed, 12 insertions, 0 deletions
diff --git a/62/CH7/EX7.26/ex_7_26.sce b/62/CH7/EX7.26/ex_7_26.sce
new file mode 100755
index 000000000..fc955eeff
--- /dev/null
+++ b/62/CH7/EX7.26/ex_7_26.sce
@@ -0,0 +1,12 @@
+clear;
+clc;
+close;
+A=[2 1;0 2];
+D=[2 0; 0 2];
+N=[0 1;0 0];
+disp(N^2,"N*N=");
+p=D*N;
+q=N*D;
+if (p==q) then
+ disp("D and N commute")
+end \ No newline at end of file