blob: b9999255137ad98f1b9c18d65da998bb5571b176 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
clear
//Given
Ca=18 //micro F
Cb=4 //micro F
//Calculation
//
C=Ca*Cb
C12=sqrt(Ca**2-4*C)
C2=2*C12
//Result
printf("\n The capacitance of capacitor C1 is %0.3f micro F", C12)
printf("\n The capacitance of capacitor C2 is %0.3f micro F",C2)
|