diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /1026/CH12/EX12.2 | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '1026/CH12/EX12.2')
-rwxr-xr-x | 1026/CH12/EX12.2/Example12_2.sce | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/1026/CH12/EX12.2/Example12_2.sce b/1026/CH12/EX12.2/Example12_2.sce new file mode 100755 index 000000000..a9d5983f0 --- /dev/null +++ b/1026/CH12/EX12.2/Example12_2.sce @@ -0,0 +1,15 @@ +//chapter12,Example12_2,pg 357
+
+lam=1*10^-6//wavelength
+
+n1=1.53
+
+n2=1.5
+
+NA=sqrt((n1^2)-(n2^2))
+
+a=(2.405*lam)/(2*%pi*NA)
+
+printf("core radius\n")
+
+printf("a=%.8f m",a)
\ No newline at end of file |