diff options
Diffstat (limited to '2975/CH29')
-rw-r--r-- | 2975/CH29/EX29.18w/Ex29_18w.sce | 15 | ||||
-rw-r--r-- | 2975/CH29/EX29.2w/Ex29_2w.sce | 18 | ||||
-rw-r--r-- | 2975/CH29/EX29.3w/Ex29_3w.sce | 27 | ||||
-rw-r--r-- | 2975/CH29/EX29.6w/Ex29_6w.sce | 19 | ||||
-rw-r--r-- | 2975/CH29/EX29.7w/Ex29_7w.sce | 16 |
5 files changed, 95 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)")
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)");
diff --git a/2975/CH29/EX29.3w/Ex29_3w.sce b/2975/CH29/EX29.3w/Ex29_3w.sce new file mode 100644 index 000000000..005085db5 --- /dev/null +++ b/2975/CH29/EX29.3w/Ex29_3w.sce @@ -0,0 +1,27 @@ +//developed in windows 8 operating system 64bit
+//platform Scilab 5.4.1
+//example 29_3w
+
+clc;clear;
+//Given Data
+
+charge_a=2*10^-6; //Charge at A(Unit: C)
+charge_b=2*10^-6; //Charge at B(Unit: C)
+charge_c=2*10^-6; //Charge at C(Unit: C)
+dis_ac=3*10^-2; //Distance between A and C (Unit:m)
+dis_bc=5*10^-2; //Distance between B and C (Unit:m)
+dis_ab=4*10^-2; //Distance between A and B (Unit:m)
+k=9*10^9 //Value of the coulomb constant (Unit: N m^2/C^2)
+
+//Calculation
+
+force_a_from_b=k*charge_a*charge_b/(dis_ab)^2; //Calculation of force on A from B (Unit:N)
+force_a_from_c=k*charge_a*charge_c/(dis_ac)^2; //Calculation of force on A from C (Unit:N)
+
+resultant=(force_a_from_b^2+force_a_from_c^2)^(1/2); //Calculation of the net resultant (Unit:N)
+tan_angle=(force_a_from_c/force_a_from_b); //Calculation of the tan of the angle suspended by the resultant and BA (Unit:unitless)
+angle=atand(tan_angle); //Calculation of the angle suspended by the resultant and BA (Unit:degree)
+
+disp(resultant,"The resultant force on the charge at the right angle corner is (Unit: N)");
+disp(tan_angle,"Tan of the angle suspended by the resultant and BA is (Unit:unitless)"); //The answer in book is given in fraction but after solving the fraction we get this answer
+disp(angle,"Angle suspended by the resultant and BA is (Unit:degree))");
diff --git a/2975/CH29/EX29.6w/Ex29_6w.sce b/2975/CH29/EX29.6w/Ex29_6w.sce new file mode 100644 index 000000000..dd6ff9994 --- /dev/null +++ b/2975/CH29/EX29.6w/Ex29_6w.sce @@ -0,0 +1,19 @@ +//developed in windows 8 operating system 64bit
+//platform Scilab 5.4.1
+//example 29_6w
+
+clc;clear;
+//Given Data
+
+mass=5*10^-3; //Mass of the particle (Unit: kg)
+charge=1*10^-7; //Charge of the particle (Unit: C)
+dis=10*10^-2; //Distance between particle (Unit: m)
+k=9*10^9; //Value of the coulomb constant (Unit: N m^2/C^2)
+gravity=9.8; //Value of gravity (Unit: m/s^2)
+
+//calculation
+
+force=charge^2*k/dis^2; //Calculation of the force (Unit: Newton)
+coefficient=force/(mass*gravity); //Calculation of the coefficient of friction (Unit:unitless)
+
+disp(coefficient,"The value of the coefficient of friction between each particle and the table is (Unit: unitless)");
diff --git a/2975/CH29/EX29.7w/Ex29_7w.sce b/2975/CH29/EX29.7w/Ex29_7w.sce new file mode 100644 index 000000000..3b67e2224 --- /dev/null +++ b/2975/CH29/EX29.7w/Ex29_7w.sce @@ -0,0 +1,16 @@ +//developed in windows 8 operating system 64bit
+//platform Scilab 5.4.1
+//example 29_7w
+
+clc;clear;
+//Given Data
+
+elec_field=4*10^5; //Value of Electric field (Unit:N/C)
+mass=1*10^-4; //Mass of the water droplet (Unit:kg)
+gravity=9.8; //Value of gravity (Unit:m/s^2)
+
+//Calculation
+
+charge=mass*gravity/elec_field; //Calculation of the charge (Unit:C)
+
+disp(charge,"The charge on the droplet is (Unit: C)");
|