diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /2234/CH4/EX4.23 | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
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 |