summaryrefslogtreecommitdiff
path: root/70/CH3/EX3.1.1/3_1_1.sci
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /70/CH3/EX3.1.1/3_1_1.sci
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '70/CH3/EX3.1.1/3_1_1.sci')
-rwxr-xr-x70/CH3/EX3.1.1/3_1_1.sci10
1 files changed, 10 insertions, 0 deletions
diff --git a/70/CH3/EX3.1.1/3_1_1.sci b/70/CH3/EX3.1.1/3_1_1.sci
new file mode 100755
index 000000000..45b6c7be8
--- /dev/null
+++ b/70/CH3/EX3.1.1/3_1_1.sci
@@ -0,0 +1,10 @@
+//page 143
+clear;
+close;
+clc;
+x1=[2;2;-1];
+disp(x1,'x1=');
+x2=[-1;2;2];
+disp(x2,'x2=');
+disp(x1'*x2,'x1''*x2=');
+disp('Therefore,X1 is orthogonal to x2 .Both have length of sqrt(14).') \ No newline at end of file