summaryrefslogtreecommitdiff
path: root/2708/CH1/EX1.33/ex_1_33.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2708/CH1/EX1.33/ex_1_33.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 '2708/CH1/EX1.33/ex_1_33.sce')
-rwxr-xr-x2708/CH1/EX1.33/ex_1_33.sce22
1 files changed, 22 insertions, 0 deletions
diff --git a/2708/CH1/EX1.33/ex_1_33.sce b/2708/CH1/EX1.33/ex_1_33.sce
new file mode 100755
index 000000000..8646b5381
--- /dev/null
+++ b/2708/CH1/EX1.33/ex_1_33.sce
@@ -0,0 +1,22 @@
+//Example 1.33 // diameter of ring
+clc
+clear;
+//given data :
+n1=4;//order of ring
+n2=12;// order of ring
+m=n2-n1;//difference of ring order
+n=20;// order of ring to find
+//let k=4*wavelength**R
+d1=.4;// diameter of first ring in cm
+d2=.7;//diameter of second ring in cm
+k=(d2^2-d1^2)/m;
+d=sqrt(n*k);// diameter of ring in cm
+disp(d,"diameter of ring in cm")
+
+//note: Wrong answer in the textbook.
+
+
+
+
+
+