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 --- 2258/CH6/EX6.5/6_5.sce | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100755 2258/CH6/EX6.5/6_5.sce (limited to '2258/CH6/EX6.5') diff --git a/2258/CH6/EX6.5/6_5.sce b/2258/CH6/EX6.5/6_5.sce new file mode 100755 index 000000000..c15fd6c30 --- /dev/null +++ b/2258/CH6/EX6.5/6_5.sce @@ -0,0 +1,15 @@ +clc(); +clear; +// To calculate the capacitance and charge +epsilon_0=8.854*10^-12; //f/m +A=100; //area in cm^2 +A=A*10^-4; //area in m^2 +V=100; //potential in V +d=1; //plate seperation in cm +d=d*10^-2; //plate seperation in m +C=(epsilon_0*A)/d; +Q=C*V; +printf("charge on the plates in F is"); +disp(C); +printf("charge on the capacitor in coulomb is"); +disp(Q); -- cgit