summaryrefslogtreecommitdiff
path: root/635/CH1/EX1.1/Ch01Ex1.sci
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /635/CH1/EX1.1/Ch01Ex1.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 '635/CH1/EX1.1/Ch01Ex1.sci')
-rwxr-xr-x635/CH1/EX1.1/Ch01Ex1.sci13
1 files changed, 13 insertions, 0 deletions
diff --git a/635/CH1/EX1.1/Ch01Ex1.sci b/635/CH1/EX1.1/Ch01Ex1.sci
new file mode 100755
index 000000000..42263bbe7
--- /dev/null
+++ b/635/CH1/EX1.1/Ch01Ex1.sci
@@ -0,0 +1,13 @@
+// Scilab Code Ex1.1 Relationship among cyrstal elements: Page-2 (2010)
+f = 18; // Number of faces of the quartz crystal
+c = 14; // Number of angles in the quratz crystal
+// The relationship amongst the crystal elements can be
+// expressed by the following formula:
+// f + c = e + 2;
+// Solving for e
+e = f + c - 2;
+disp (e, "The number of edges of the quartz crystal is : ");
+
+// Result
+// The number of edges of the quartz crystal is :
+// 30 \ No newline at end of file