summaryrefslogtreecommitdiff
path: root/1865/CH3/EX3.1/prob_1.sce
diff options
context:
space:
mode:
Diffstat (limited to '1865/CH3/EX3.1/prob_1.sce')
-rw-r--r--1865/CH3/EX3.1/prob_1.sce11
1 files changed, 11 insertions, 0 deletions
diff --git a/1865/CH3/EX3.1/prob_1.sce b/1865/CH3/EX3.1/prob_1.sce
new file mode 100644
index 000000000..8baf63ccc
--- /dev/null
+++ b/1865/CH3/EX3.1/prob_1.sce
@@ -0,0 +1,11 @@
+
+//Problem 1
+//Calculate the wavelength of X-rays
+clear
+clc
+V=12400// Potential difference in V
+e=1.6*10^(-19)//charge on an electron in C
+h=6.626*10^(-34)//planck's constant in J-s
+c=3*10^(8)//velocity of light in m/s
+w=((h*c)/(e*V))*10^(10)// wavelength of X-rays in A
+printf('wavelength of X-rays = %.1f A',w) \ No newline at end of file