diff options
Diffstat (limited to '260/CH5/EX5.2/5_2.sce')
-rw-r--r-- | 260/CH5/EX5.2/5_2.sce | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/260/CH5/EX5.2/5_2.sce b/260/CH5/EX5.2/5_2.sce new file mode 100644 index 000000000..06c2d3455 --- /dev/null +++ b/260/CH5/EX5.2/5_2.sce @@ -0,0 +1,11 @@ +//Eg-5.2
+//pg-216
+
+clear
+clc
+
+A=[1 -1 4;3 2 -1;2 1 -1];
+
+if (A^3)-2*(A^2)-(5*A)+6*eye(3,3)==zeros(3,3) then
+ disp("cayley-hamiliton theorem was verified")
+end
\ No newline at end of file |