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 /3411/CH1/EX1.12.u1 | |
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 '3411/CH1/EX1.12.u1')
-rw-r--r-- | 3411/CH1/EX1.12.u1/Ex1_12_u1.sce | 14 | ||||
-rw-r--r-- | 3411/CH1/EX1.12.u1/Ex1_12_u1.txt | 1 |
2 files changed, 15 insertions, 0 deletions
diff --git a/3411/CH1/EX1.12.u1/Ex1_12_u1.sce b/3411/CH1/EX1.12.u1/Ex1_12_u1.sce new file mode 100644 index 000000000..f820e4c4e --- /dev/null +++ b/3411/CH1/EX1.12.u1/Ex1_12_u1.sce @@ -0,0 +1,14 @@ +//Example 1_12_u1
+clc();
+clear;
+//To calculate the wavelength of the light used
+Dnp=0.8 //units in cm
+Dn=0.3 //units in cm
+n1=25
+n2=5
+p=n1-n2
+R=100 //units in cm
+lamda=(Dnp^2-Dn^2)/(4*p*R) //units in cm
+printf("The wavelength of light used is %.8fcm",lamda)
+//In text book the answer is printed wrong as 4.87*10^-5cm
+//correct Answer is 6.875*10^-5cm
diff --git a/3411/CH1/EX1.12.u1/Ex1_12_u1.txt b/3411/CH1/EX1.12.u1/Ex1_12_u1.txt new file mode 100644 index 000000000..077d048d1 --- /dev/null +++ b/3411/CH1/EX1.12.u1/Ex1_12_u1.txt @@ -0,0 +1 @@ +The wavelength of light used is 0.00006875cm
\ No newline at end of file |