diff options
Diffstat (limited to '2234/CH4/EX4.25/ex4_25.sce')
-rwxr-xr-x | 2234/CH4/EX4.25/ex4_25.sce | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/2234/CH4/EX4.25/ex4_25.sce b/2234/CH4/EX4.25/ex4_25.sce new file mode 100755 index 000000000..c0006b4c2 --- /dev/null +++ b/2234/CH4/EX4.25/ex4_25.sce @@ -0,0 +1,9 @@ +clc;
+eo=8.85*10^-12; //constant
+A=90*10^-4; //area in m square
+d=2.5*10^-3; //distance in m
+V=400; //in volt
+C=(eo*A)/d; //calculating capacitance
+disp(C,"Capacitance in Farad = "); //displaying result
+W=(1/2)*(C*(V^2)); //calculating electrical energy stored
+disp(W,"Electrical Energy stored in capacitor in Joule = "); //displaying result
\ No newline at end of file |