summaryrefslogtreecommitdiff
path: root/3768/CH5/EX5.2/Ex5_2.sce
diff options
context:
space:
mode:
Diffstat (limited to '3768/CH5/EX5.2/Ex5_2.sce')
-rw-r--r--3768/CH5/EX5.2/Ex5_2.sce12
1 files changed, 12 insertions, 0 deletions
diff --git a/3768/CH5/EX5.2/Ex5_2.sce b/3768/CH5/EX5.2/Ex5_2.sce
new file mode 100644
index 000000000..5a039acdd
--- /dev/null
+++ b/3768/CH5/EX5.2/Ex5_2.sce
@@ -0,0 +1,12 @@
+//Example number 5.2, Page number 85
+
+clc;clear;
+close;
+
+//Variable declaration
+V=1600; //potential energy of electron(V)
+//Calculation
+lamda=12.27/sqrt(V); //wavelength(m)
+//Result
+printf("wavelength is %f Angstrom",lamda)
+//answer given in the book is wrong