summaryrefslogtreecommitdiff
path: root/1619/CH2/EX2.3.1/Example2_3_1.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1619/CH2/EX2.3.1/Example2_3_1.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 '1619/CH2/EX2.3.1/Example2_3_1.sce')
-rwxr-xr-x1619/CH2/EX2.3.1/Example2_3_1.sce15
1 files changed, 15 insertions, 0 deletions
diff --git a/1619/CH2/EX2.3.1/Example2_3_1.sce b/1619/CH2/EX2.3.1/Example2_3_1.sce
new file mode 100755
index 000000000..1af85537e
--- /dev/null
+++ b/1619/CH2/EX2.3.1/Example2_3_1.sce
@@ -0,0 +1,15 @@
+//Example 2.3.1 page 2.20
+
+clc;
+clear;
+
+alpha = 2;
+n1= 1.5;
+del= 0.01;
+a= 25*10^-6;
+lamda= 1.3*10^-6;
+M= 0.5;
+NA= sqrt(0.5*2*1.3^2/(%pi^2*25^2));
+Rc= 3*n1^2*lamda/(4*%pi*NA^3);
+Rc=Rc*1000; // converting into um.....
+printf("The radius of curvature is %.2f um",Rc);