blob: bf934fc6b938aa82f8d290bfbbd85bea5832c610 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
//example1.24
clc
i=20/(2+1.2727)
format(7)
disp(i,"I(in A)=")
disp("By current division rule,")
i=(6.1111*2)/5.5
format(6)
disp(i,"I1(in A)=9(I*2)/(2+3.5)=")
v=2.222*1
disp(v,"V(1 ohm)=I1*1=")
i=(6.1111*3.5)/5.5
disp(i,"I2(in A)=(3.5*I)/(2 +3.5)=")
p=((3.888)^2)*2
format(7)
disp(p,"P(2 ohm)[in W]=(I2^2)*2=")
|