summaryrefslogtreecommitdiff
path: root/3769/CH4/EX4.25/Ex4_25.sce
blob: f92aa60e5161fac979588f7c32c612e2e7164941 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
clear
//Given
C=5*10**-6
V=100
C1=3*10**-6

//Calculation
q=C*V
Cp=C+C1
pd=q/Cp

//Result
printf("\n P.D across the capacitor is  %0.3f  V", pd)