summaryrefslogtreecommitdiff
path: root/3411/CH1/EX1.8.u1/Ex1_8_u1.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /3411/CH1/EX1.8.u1/Ex1_8_u1.sce
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 '3411/CH1/EX1.8.u1/Ex1_8_u1.sce')
-rw-r--r--3411/CH1/EX1.8.u1/Ex1_8_u1.sce10
1 files changed, 10 insertions, 0 deletions
diff --git a/3411/CH1/EX1.8.u1/Ex1_8_u1.sce b/3411/CH1/EX1.8.u1/Ex1_8_u1.sce
new file mode 100644
index 000000000..929aa2f19
--- /dev/null
+++ b/3411/CH1/EX1.8.u1/Ex1_8_u1.sce
@@ -0,0 +1,10 @@
+//Example 1_8_u1
+clc();
+clear;
+//To calculate the distance from the edge of wedge
+alpha=0.01 //units in radians
+n=10
+lamda=6000 //units in armstrongs
+lamda=lamda*10^-10 //units in mts
+x=((2*n-1)*lamda)/(4*alpha) //units in mts
+printf("Distance from the edge of the wedge is %.6fmts",x)