summaryrefslogtreecommitdiff
path: root/3411/CH1
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:38:01 +0530
committerprashantsinalkar2017-10-10 12:38:01 +0530
commitf35ea80659b6a49d1bb2ce1d7d002583f3f40947 (patch)
treeeb72842d800ac1233e9d890e020eac5fd41b0b1b /3411/CH1
parent7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (diff)
downloadScilab-TBC-Uploads-f35ea80659b6a49d1bb2ce1d7d002583f3f40947.tar.gz
Scilab-TBC-Uploads-f35ea80659b6a49d1bb2ce1d7d002583f3f40947.tar.bz2
Scilab-TBC-Uploads-f35ea80659b6a49d1bb2ce1d7d002583f3f40947.zip
updated the code
Diffstat (limited to '3411/CH1')
-rw-r--r--3411/CH1/EX1.11.u1/Ex1_11_u1.sce16
-rw-r--r--3411/CH1/EX1.12.u1/Ex1_12_u1.sce28
2 files changed, 22 insertions, 22 deletions
diff --git a/3411/CH1/EX1.11.u1/Ex1_11_u1.sce b/3411/CH1/EX1.11.u1/Ex1_11_u1.sce
index 7a6fee415..cc257d8e7 100644
--- a/3411/CH1/EX1.11.u1/Ex1_11_u1.sce
+++ b/3411/CH1/EX1.11.u1/Ex1_11_u1.sce
@@ -1,8 +1,8 @@
-//Example 1_11_u1
-clc();
-clear;
-//To calculate refractive Index of liquid
- d10=1.40
- d_10=1.27
- u=(d10/d_10)^2
- printf("The refractive index of liquid is %.3f",u)
+//Example 1_11_u1
+clc;
+clear;
+//To calculate refractive Index of liquid
+ d10=1.40
+ d_10=1.27
+ u=(d10/d_10)^2
+ printf("The refractive index of liquid is %.3f",u) \ No newline at end of file
diff --git a/3411/CH1/EX1.12.u1/Ex1_12_u1.sce b/3411/CH1/EX1.12.u1/Ex1_12_u1.sce
index f820e4c4e..3e2a2dbb6 100644
--- a/3411/CH1/EX1.12.u1/Ex1_12_u1.sce
+++ b/3411/CH1/EX1.12.u1/Ex1_12_u1.sce
@@ -1,14 +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
+//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 \ No newline at end of file