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 /3020/CH21/EX21.7/ex21_7.sce | |
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 '3020/CH21/EX21.7/ex21_7.sce')
-rwxr-xr-x | 3020/CH21/EX21.7/ex21_7.sce | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/3020/CH21/EX21.7/ex21_7.sce b/3020/CH21/EX21.7/ex21_7.sce new file mode 100755 index 000000000..f743ac681 --- /dev/null +++ b/3020/CH21/EX21.7/ex21_7.sce @@ -0,0 +1,11 @@ +clc;
+clear all;
+er=80;//relative permittivity
+C=2e-6;//the capacitance
+V=1000;//applied voltage
+E1=C*V^2/2;//energy stored in the capacitor
+C0=C/er;//capacitance of the capacitor when the dielectric is removed
+E2=C0*V^2/2;//energy stored in capacitor with vacume as dielectric
+c=E1-E2;//'energy stored in polarissing the capacitor
+disp('J',E1,'energy stored in the capacitor')
+disp('J',c,'energy stored in polarissing the capacitor:')
|