diff options
Diffstat (limited to '2234/CH4/EX4.23')
-rwxr-xr-x | 2234/CH4/EX4.23/ex4_23.sce | 11 |
1 files changed, 11 insertions, 0 deletions
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 |