summaryrefslogtreecommitdiff
path: root/3020/CH21/EX21.7/ex21_7.sce
blob: f743ac6810d45b4d67fccdab29fcbe0c5ce760ef (plain)
1
2
3
4
5
6
7
8
9
10
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:')