summaryrefslogtreecommitdiff
path: root/3769/CH3/EX3.17/Ex3_17.sce
diff options
context:
space:
mode:
Diffstat (limited to '3769/CH3/EX3.17/Ex3_17.sce')
-rw-r--r--3769/CH3/EX3.17/Ex3_17.sce13
1 files changed, 7 insertions, 6 deletions
diff --git a/3769/CH3/EX3.17/Ex3_17.sce b/3769/CH3/EX3.17/Ex3_17.sce
index a0b5da2e5..71d441cfc 100644
--- a/3769/CH3/EX3.17/Ex3_17.sce
+++ b/3769/CH3/EX3.17/Ex3_17.sce
@@ -1,17 +1,18 @@
+
clear
//Given
r=0.53*10**-10 //m
q1=1.6*10**-19 //C
q2=-1.6*10**-19 //C
-a=9*10**9
-r1=1.06*10**-10
+a=9*10**9 //constant
+r1=1.06*10**-10 // seperation of electron
//Calculation
U=a*q1*q2/r
-Ue=U/q1
-K=-Ue/2.0
-E=Ue+K
-U1=(a*q1*q2/r1)/q1
+Ue=U/q1 //Potential energy of the system eV
+K=-Ue/2.0 //eV
+E=Ue+K //eV
+U1=(a*q1*q2/r1)/q1// eV
//Result
printf("\n (i) Potential energy of the system is %0.1f eV",Ue)