diff options
Diffstat (limited to '1544/CH3/EX3.2')
-rwxr-xr-x | 1544/CH3/EX3.2/Ch03Ex2.sce | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/1544/CH3/EX3.2/Ch03Ex2.sce b/1544/CH3/EX3.2/Ch03Ex2.sce new file mode 100755 index 000000000..f72926e3e --- /dev/null +++ b/1544/CH3/EX3.2/Ch03Ex2.sce @@ -0,0 +1,15 @@ +// Scilab code Ex3.2: Pg 80 (2008)
+clc; clear;
+A = 400e-06; // Cross-sectional area of plate, m^2
+I = 50e-06; // Source current, A
+t = 3; // Flow time of current, s
+// Since electric current is the rate of flow of charge i.e I = Q/t, solving for Q
+Q = I*t; // Amount of charge on plates, C
+//Solving for density of the electric field between the plates
+D = Q/A; // Electric field density, C/m^2
+printf("\The charge on the plates = %3d micro-coloumb", Q/1e-06);
+printf("\nThe density of the electric field between the plates = %5.3f C/m-square", D);
+
+// Result
+// The charge on the plates = 150 micro-coloumb
+// The density of the electric field between the plates =0.375 C/m-square
|