blob: f9ac62348122e996d3de08f010af568c5fcce73d (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
clear
//Initialization
C1=10*10**-6 //capacitance in Farad
C2=25*10**-6 //capacitance in Farad
//Calculation
C=(C1*C2)/(C1+C2) //capacitance in Farad
//Results
printf("\n C = %.2f uF",C*10**6)
|