blob: e7054b58efb18b866f5b838d29747080fedf9577 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
//Chapter 4, Example 4.5
clc
//Initialisation'
c1=10*10**-6 //capacitance in farad
c2=25*10**-6 //capacitance in farad
//Calculation
c=c1+c2 //capacitance in farad
//Results
printf("Total Capacitance, C = %d uF",c*10**6)
|