diff options
Diffstat (limited to '3769/CH4/EX4.28/Ex4_28.sce')
-rw-r--r-- | 3769/CH4/EX4.28/Ex4_28.sce | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/3769/CH4/EX4.28/Ex4_28.sce b/3769/CH4/EX4.28/Ex4_28.sce new file mode 100644 index 000000000..84b38f59a --- /dev/null +++ b/3769/CH4/EX4.28/Ex4_28.sce @@ -0,0 +1,16 @@ +clear +//Given +C1=16*10**-6 // F +C2=4 //micro F +V1=100 //V +Cp=20*10**-6 //f + +//Calculation +q=C1*V1 +U1=0.5*C1*V1**2 +V=q/Cp +U2=0.5*Cp*V**2 + +//Result +printf("\n (i) Potential difference across the capacitor is %0.3f Volts", V) +printf("\n (ii) The electrostatic energies before and after the capacitors are connected %0.3f J",U2) |