diff options
Diffstat (limited to '1172/CH3/EX3.3/Example3_3.sce')
-rwxr-xr-x | 1172/CH3/EX3.3/Example3_3.sce | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/1172/CH3/EX3.3/Example3_3.sce b/1172/CH3/EX3.3/Example3_3.sce new file mode 100755 index 000000000..d238a255a --- /dev/null +++ b/1172/CH3/EX3.3/Example3_3.sce @@ -0,0 +1,11 @@ +clc
+//Given that
+applied_voltage = 4e4 // in volt
+h = 6.624e-34 // plank's constant
+c = 3e8 // speed of light
+e = 1.6e-19 // charge on electron
+//Sample Problem 3 Page No. 136
+printf("\n\n\n # Problem 3 # \n")
+printf("\n Standard formula Used \n E = h*c/lambda")
+lambda = h * c / ( e * applied_voltage) *1e10 //calculation of Shortest wavelength emitted
+printf("\n Shortest wavelength emitted is %f Angstrom.", lambda)
|