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 --- 1535/CH13/EX13.2/Ch13Ex2.sci | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100755 1535/CH13/EX13.2/Ch13Ex2.sci (limited to '1535/CH13/EX13.2/Ch13Ex2.sci') diff --git a/1535/CH13/EX13.2/Ch13Ex2.sci b/1535/CH13/EX13.2/Ch13Ex2.sci new file mode 100755 index 000000000..16929120e --- /dev/null +++ b/1535/CH13/EX13.2/Ch13Ex2.sci @@ -0,0 +1,13 @@ +// Scilab Code Ex13.2: Parallel plate capacitor: Page-287 (2010) +epsilon_0 = 8.854e-012; // Absolute electrical permittivity of free space, farad per metre +A = 100e-004; // Area of a plate of parallel plate capacitor, metre square +d = 1e-002; // Distance between the plates of the capacitor, m +V = 100; // Potential applied to the plates of the capacitor, volt +C = epsilon_0*A/d; // Capacitance of parallel plate capacitor, farad +Q = C/V; // Charge on the plates of the capacitor, coulomb +printf("\nThe capacitance of parallel plate capacitor = %5.3e F", C); +printf("\nThe charge on the plates of the capacitor = %5.3e C", Q); + +// Result +// The capacitance of parallel plate capacitor = 8.854e-012 F +// The charge on the plates of the capacitor = 8.854e-014 C \ No newline at end of file -- cgit