summaryrefslogtreecommitdiff
path: root/3768/CH3/EX3.16/Ex3_16.sce
diff options
context:
space:
mode:
Diffstat (limited to '3768/CH3/EX3.16/Ex3_16.sce')
-rw-r--r--3768/CH3/EX3.16/Ex3_16.sce13
1 files changed, 13 insertions, 0 deletions
diff --git a/3768/CH3/EX3.16/Ex3_16.sce b/3768/CH3/EX3.16/Ex3_16.sce
new file mode 100644
index 000000000..6266d7041
--- /dev/null
+++ b/3768/CH3/EX3.16/Ex3_16.sce
@@ -0,0 +1,13 @@
+//Example number 3.16, Page number 52
+
+clc;clear;
+close;
+
+//Variable declaration
+N=2.303*16.65;
+T=298; //temperature(K)
+Kb=8.625*10**-5;
+//Calculation
+E=2*N*Kb*T; //energy required(eV)
+//Result
+printf("energy required is %.2f eV",E)