summaryrefslogtreecommitdiff
path: root/3014/CH6/EX6.3
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /3014/CH6/EX6.3
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 '3014/CH6/EX6.3')
-rwxr-xr-x3014/CH6/EX6.3/Ex6_3.sce9
-rwxr-xr-x3014/CH6/EX6.3/Ex6_3.txt3
2 files changed, 12 insertions, 0 deletions
diff --git a/3014/CH6/EX6.3/Ex6_3.sce b/3014/CH6/EX6.3/Ex6_3.sce
new file mode 100755
index 000000000..51313c93d
--- /dev/null
+++ b/3014/CH6/EX6.3/Ex6_3.sce
@@ -0,0 +1,9 @@
+
+clc
+//Given that
+T =40 // Thickness of steel bar in cm
+t1 = 40 // Time in ms
+t2 = 80 // Time in ms
+printf("Example 6.3\n")
+X = T*t1/t2 // Calculation of depth of defect
+printf("Depth of defect is %d cm.\n\n\n",X)
diff --git a/3014/CH6/EX6.3/Ex6_3.txt b/3014/CH6/EX6.3/Ex6_3.txt
new file mode 100755
index 000000000..0644bda81
--- /dev/null
+++ b/3014/CH6/EX6.3/Ex6_3.txt
@@ -0,0 +1,3 @@
+
+Example 6.3
+Depth of defect is 20 cm.