blob: c0760bfbae07b1cd2abfc73033113a82a69cc8e5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
// Example 2.4
v=8.8*{2/(2+2.4)}; // by voltage divider rule
disp(' Anknown Voltage across the R1 = '+string(v)+' volt');
v1=8.8*{2.4/(2+2.4)}; // by voltage divider rule
disp(' Anknown Voltage across the R1 = '+string(v1)+' volt');
i=4.8/4; // I=V/R
disp(' Anknown Current I1 = '+string(i)+' Amp');
i1=4.8/6; // I=V/R
disp(' Anknown Current I2 = '+string(i1)+' Amp');
// p 20 2.4
|