summaryrefslogtreecommitdiff
path: root/3769/CH2/EX2.16/Ex2_16.sce
diff options
context:
space:
mode:
Diffstat (limited to '3769/CH2/EX2.16/Ex2_16.sce')
-rw-r--r--3769/CH2/EX2.16/Ex2_16.sce14
1 files changed, 14 insertions, 0 deletions
diff --git a/3769/CH2/EX2.16/Ex2_16.sce b/3769/CH2/EX2.16/Ex2_16.sce
new file mode 100644
index 000000000..a0e8b5c5d
--- /dev/null
+++ b/3769/CH2/EX2.16/Ex2_16.sce
@@ -0,0 +1,14 @@
+clear
+//Given
+qa=2.5*10**-7
+qb=-2.5*10**-7
+a=15
+b=15
+
+//Calculation
+q=qa+qb
+C=(a+b)*10**-2
+E=qa*C
+
+//Result
+printf("\n Total charge is %0.3f \nElectric dipole moment of the system is %0.3f Cm",q,E)