summaryrefslogtreecommitdiff
path: root/1865/CH3/EX3.3/prob_3.sce
diff options
context:
space:
mode:
Diffstat (limited to '1865/CH3/EX3.3/prob_3.sce')
-rw-r--r--1865/CH3/EX3.3/prob_3.sce14
1 files changed, 14 insertions, 0 deletions
diff --git a/1865/CH3/EX3.3/prob_3.sce b/1865/CH3/EX3.3/prob_3.sce
new file mode 100644
index 000000000..f03a1e35c
--- /dev/null
+++ b/1865/CH3/EX3.3/prob_3.sce
@@ -0,0 +1,14 @@
+
+//Problem 3
+//calculate the energy falling on the target material per second and also calculate the cutoff wavelength of the X-rays
+clear
+clc
+V=20*10^3// potential difference in V
+e=1.6*10^(-19)//charge on an electron in C
+h=6.6*10^(-34)//planck's constant in J-s
+c=3*10^(8)//velocity of light in m/s
+i=1//current in mA
+E=i*V*10^(-3)//energy in j/s
+w=(h*c)/(e*V)//wavelength in nm
+printf('energy falling on the target material per second = %.1f j/s \n',E)
+printf('cutoff wavelength of the X-rays = %.3f nm',w*10^9) \ No newline at end of file