blob: cd7e0ae092faa3856917aceff60503ce686777cb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
clear
//
//case a
//values taken and calculated from figure
r1=6
r2=12
r3=18
rab=3.21 //calculating similar to above using parallel in series resistances
printf("\n rab=3.12ohm")
//case b
r4=30
r5=15
r6=30
ran=6 //similar as above
printf("\n ran=6 ohm")
|