diff options
author | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
---|---|---|
committer | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
commit | 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch) | |
tree | dbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /2975/CH29/EX29.2w/Ex29_2w.sce | |
parent | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff) | |
download | Scilab-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.2w/Ex29_2w.sce')
-rw-r--r-- | 2975/CH29/EX29.2w/Ex29_2w.sce | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/2975/CH29/EX29.2w/Ex29_2w.sce b/2975/CH29/EX29.2w/Ex29_2w.sce new file mode 100644 index 000000000..354188c68 --- /dev/null +++ b/2975/CH29/EX29.2w/Ex29_2w.sce @@ -0,0 +1,18 @@ +//developed in windows 8 operating system 64bit
+//platform Scilab 5.4.1
+//example 29_2w
+
+clc;clear;
+//Given Data
+
+q_a=8*10^-6; //Charge at A (Unit: C)
+q_b=-2*10^-6; //Charge at B (Unit: C)
+dis_ab=20*10^-2; //Distance between A and B(Unit: m)
+
+//Calculation
+
+
+distance=dis_ab/((q_a/(-q_b))^(1/2)-1); //Calculation of the distance of the third particle (Unit: m)
+distance_cm=100*distance; //Converting distance from meter to centimeter (Unit:cm)
+
+disp(distance_cm,"Third particle should be placed at (Unit : cm)");
|