diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /24/CH3/EX3.8 | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '24/CH3/EX3.8')
-rwxr-xr-x | 24/CH3/EX3.8/Example3_8.sce | 12 | ||||
-rwxr-xr-x | 24/CH3/EX3.8/Example3_8_result.txt | 5 |
2 files changed, 17 insertions, 0 deletions
diff --git a/24/CH3/EX3.8/Example3_8.sce b/24/CH3/EX3.8/Example3_8.sce new file mode 100755 index 000000000..6033b331f --- /dev/null +++ b/24/CH3/EX3.8/Example3_8.sce @@ -0,0 +1,12 @@ +exec("degree_rad.sci",-1)
+exec("cross_product.sci",-1)
+
+//Given that
+a = [3,-4,0]
+b = [-2,0,3]
+
+//Sample Problem 3-8
+printf("**Sample Problem 3-8**\n")
+cross_ab = crossproduct(a,b)
+printf("The cross product of given vectors is ")
+disp(cross_ab)
\ No newline at end of file diff --git a/24/CH3/EX3.8/Example3_8_result.txt b/24/CH3/EX3.8/Example3_8_result.txt new file mode 100755 index 000000000..1cc721e07 --- /dev/null +++ b/24/CH3/EX3.8/Example3_8_result.txt @@ -0,0 +1,5 @@ +**Sample Problem 3-8**
+The cross product of given vectors is
+ - 12.
+ - 9.
+ - 8.
\ No newline at end of file |