summaryrefslogtreecommitdiff
path: root/3020/CH21/EX21.13/ex21_13.sce
blob: 1b834cec1b98f8c4945163bd48acf5a1a5a1ffa5 (plain)
1
2
3
4
5
6
7
8
9
10
clc;
clear all;
C=2e-6;//capacitance of plate condensor
V=1000;//applied voltage
er=100;//the dielectric permittivity
E=C*V^2/2;//energy stored in capacitor
C0=C/er;
Ewd=C0*V^2/2;//energy stored without the dielectric
Ed=E-Ewd;//energy stored in the dielectric
disp('J',Ed,'energy stored in the dielectric:')