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 --- 2234/CH4/EX4.23/ex4_23.sce | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100755 2234/CH4/EX4.23/ex4_23.sce (limited to '2234/CH4/EX4.23') diff --git a/2234/CH4/EX4.23/ex4_23.sce b/2234/CH4/EX4.23/ex4_23.sce new file mode 100755 index 000000000..f2e9661e3 --- /dev/null +++ b/2234/CH4/EX4.23/ex4_23.sce @@ -0,0 +1,11 @@ +clc; +v=100; //v in volt +c1=8*10^-6; //capacitance in Farad +c2=12*10^-6; //capacitance in Farad +c3=24*10^-6; //capacitance in Farad +cs=4/(10^6); //calculating series capacitance +cp=(c1+c2+c3); //calculating parallel capacitance +disp(cs,"Equivalent Series capacitance in farad = "); //displaying result +disp(cp,"Equivalent parallel capacitance in farad = "); //displaying result +qs=cs*v; //calculating charge +disp(qs,"charge on plate in Coulomb = "); //displaying result \ No newline at end of file -- cgit