diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /1544/CH3/EX3.2 | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
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
|