summaryrefslogtreecommitdiff
path: root/2975/CH29/EX29.18w/Ex29_18w.sce
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /2975/CH29/EX29.18w/Ex29_18w.sce
parentb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff)
downloadScilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip
initial commit / add all books
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)")