summaryrefslogtreecommitdiff
path: root/446/CH4/EX4.2
diff options
context:
space:
mode:
Diffstat (limited to '446/CH4/EX4.2')
-rwxr-xr-x446/CH4/EX4.2/4_2.sce9
-rwxr-xr-x446/CH4/EX4.2/4_2.txt2
2 files changed, 11 insertions, 0 deletions
diff --git a/446/CH4/EX4.2/4_2.sce b/446/CH4/EX4.2/4_2.sce
new file mode 100755
index 000000000..78679d0c0
--- /dev/null
+++ b/446/CH4/EX4.2/4_2.sce
@@ -0,0 +1,9 @@
+clear
+clc
+disp('Ex-4.2');
+// w=wavelength; consider k=2*(pi/w);
+// differentiate k w.r.t w and replace del(k)/del(w) = 1 for equation.4.3
+// which gives del(w)= w^2 /(2*pi*del(x)), hence
+w=20; delx=200; // delx=200cm and w=20cm
+delw=(w^2)/(delx*2*%pi);
+printf('Hence uncertainity in length is %1.2f cm',delw); \ No newline at end of file
diff --git a/446/CH4/EX4.2/4_2.txt b/446/CH4/EX4.2/4_2.txt
new file mode 100755
index 000000000..8ddea1b2c
--- /dev/null
+++ b/446/CH4/EX4.2/4_2.txt
@@ -0,0 +1,2 @@
+Ex-4.2
+Hence uncertainity in length is 0.32 cm \ No newline at end of file