From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 1544/CH3/EX3.2/Ch03Ex2.sce | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100755 1544/CH3/EX3.2/Ch03Ex2.sce (limited to '1544/CH3/EX3.2') 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 -- cgit