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.4.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.4.u1')
-rw-r--r-- | 3411/CH1/EX1.4.u1/Ex1_4_u1.sce | 14 | ||||
-rw-r--r-- | 3411/CH1/EX1.4.u1/Ex1_4_u1.txt | 1 |
2 files changed, 15 insertions, 0 deletions
diff --git a/3411/CH1/EX1.4.u1/Ex1_4_u1.sce b/3411/CH1/EX1.4.u1/Ex1_4_u1.sce new file mode 100644 index 000000000..027bb8785 --- /dev/null +++ b/3411/CH1/EX1.4.u1/Ex1_4_u1.sce @@ -0,0 +1,14 @@ +//Example 1_4_u1
+clc();
+clear;
+//To calculate thickness of plate
+//t=(n*lamda)/(u-u1)
+n=5
+u=1.7
+u1=1.4
+lamda=4800 //units in armstrongs
+lamda=lamda*10^-10 //units in mts
+t=(n*lamda)/(u-u1) //units in mts
+printf("Thickness of glass plate is %.6fmts",t)
+//In text book the answer is printed wrong as 8*10^-8 mts
+//the correct answer is 8*10^-6 mts
diff --git a/3411/CH1/EX1.4.u1/Ex1_4_u1.txt b/3411/CH1/EX1.4.u1/Ex1_4_u1.txt new file mode 100644 index 000000000..1659250bd --- /dev/null +++ b/3411/CH1/EX1.4.u1/Ex1_4_u1.txt @@ -0,0 +1 @@ +Thickness of glass plate is 0.000008mts
\ No newline at end of file |