summaryrefslogtreecommitdiff
path: root/2975/CH29/EX29.18w/Ex29_18w.sce
diff options
context:
space:
mode:
Diffstat (limited to '2975/CH29/EX29.18w/Ex29_18w.sce')
-rw-r--r--2975/CH29/EX29.18w/Ex29_18w.sce15
1 files changed, 15 insertions, 0 deletions
diff --git a/2975/CH29/EX29.18w/Ex29_18w.sce b/2975/CH29/EX29.18w/Ex29_18w.sce
new file mode 100644
index 000000000..f9a4a863a
--- /dev/null
+++ b/2975/CH29/EX29.18w/Ex29_18w.sce
@@ -0,0 +1,15 @@
+//developed in windows 8 operating system 64bit
+//platform Scilab 5.4.1
+//example 29_18w
+
+clc;clear;
+//Given Data
+
+dipole_moment=3.4*10^-30; //Dipole moment of the HCl molecule (Unit:N-m)
+distance=1*10^-10; //Distance between the two atoms (Unit: m)
+
+//Calculation
+
+charge=dipole_moment/distance; //Calculation of the magnitude of the charge (Unit:C)
+
+disp(charge,"The magnitude of the charge is (Unit:C)")