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 /2258/CH6/EX6.5 | |
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 '2258/CH6/EX6.5')
-rwxr-xr-x | 2258/CH6/EX6.5/6_5.sce | 15 |
1 files changed, 15 insertions, 0 deletions
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);
|