summaryrefslogtreecommitdiff
path: root/2975/CH31/EX31.2w/Ex31_2w.sce
diff options
context:
space:
mode:
Diffstat (limited to '2975/CH31/EX31.2w/Ex31_2w.sce')
-rw-r--r--2975/CH31/EX31.2w/Ex31_2w.sce22
1 files changed, 22 insertions, 0 deletions
diff --git a/2975/CH31/EX31.2w/Ex31_2w.sce b/2975/CH31/EX31.2w/Ex31_2w.sce
new file mode 100644
index 000000000..7134fed04
--- /dev/null
+++ b/2975/CH31/EX31.2w/Ex31_2w.sce
@@ -0,0 +1,22 @@
+//developed in windows 8 operating system 64bit
+//platform Scilab 5.4.1
+//example 31_2w
+
+clc;clear;
+//Given Data
+
+k=9*10^9; //Value of the coulomb constant (Unit: N-m^2/C^2)
+capacitance=50*10^-12; //Sphere capaciance(Unit: Farad)
+potential=10^4; //Required potential difference (Unit:volt)
+
+//Calculation
+
+radius=k*capacitance; //Calculation of the radius of the sphere (Unit:m)
+radius_cm=radius*100; //Changing the radius into cm (Unit:cm)
+charge=capacitance*potential; //Calculation of the charge (Unit:C)
+charge_micro=charge*10^6; //Changing the charge in micro coulomb (Unit : micro Coulomb)
+
+
+disp(radius_cm,"The radius of the isolated sphere is(Unit:cm)");
+disp(charge_micro,"Charge on the sphere is (Unit:micro Coulomb)");
+