summaryrefslogtreecommitdiff
path: root/3769/CH2/EX2.11/Ex2_11.sce
diff options
context:
space:
mode:
Diffstat (limited to '3769/CH2/EX2.11/Ex2_11.sce')
-rw-r--r--3769/CH2/EX2.11/Ex2_11.sce5
1 files changed, 3 insertions, 2 deletions
diff --git a/3769/CH2/EX2.11/Ex2_11.sce b/3769/CH2/EX2.11/Ex2_11.sce
index 74d866b15..f86a80875 100644
--- a/3769/CH2/EX2.11/Ex2_11.sce
+++ b/3769/CH2/EX2.11/Ex2_11.sce
@@ -1,3 +1,4 @@
+
clear
//Given
q=16*10**-19
@@ -9,5 +10,5 @@ p=q*a
U=-p*E
//Result
-printf("\n (i) The electric dipole moment %0.3f Cm", p)
-printf("\n (ii) Potential energy of dipole in the stable equilibrium position %0.3f J",U)
+printf("\n (i) The electric dipole moment %e Cm", p)
+printf("\n (ii) Potential energy of dipole in the stable equilibrium position %e J",U)