diff options
author | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
---|---|---|
committer | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
commit | 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch) | |
tree | dbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /1865/CH3/EX3.3/prob_3.sce | |
parent | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff) | |
download | Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2 Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip |
initial commit / add all books
Diffstat (limited to '1865/CH3/EX3.3/prob_3.sce')
-rw-r--r-- | 1865/CH3/EX3.3/prob_3.sce | 14 |
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 |