summaryrefslogtreecommitdiff
path: root/260/CH5/EX5.16/5_16.sce
diff options
context:
space:
mode:
Diffstat (limited to '260/CH5/EX5.16/5_16.sce')
-rw-r--r--260/CH5/EX5.16/5_16.sce12
1 files changed, 12 insertions, 0 deletions
diff --git a/260/CH5/EX5.16/5_16.sce b/260/CH5/EX5.16/5_16.sce
new file mode 100644
index 000000000..3e22cf362
--- /dev/null
+++ b/260/CH5/EX5.16/5_16.sce
@@ -0,0 +1,12 @@
+//Eg-5.16
+//pg-257
+
+clear
+clc
+
+A=[4 -2 2 8;-2 6 2 4;2 2 10 -6;8 4 -6 12];
+
+T=hess(A);
+
+disp("required tridiagonal matrix is")
+disp(T) \ No newline at end of file