diff options
Diffstat (limited to '147/CH2/EX2.2/Example2_2.sce')
-rw-r--r-- | 147/CH2/EX2.2/Example2_2.sce | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/147/CH2/EX2.2/Example2_2.sce b/147/CH2/EX2.2/Example2_2.sce new file mode 100644 index 000000000..528db7422 --- /dev/null +++ b/147/CH2/EX2.2/Example2_2.sce @@ -0,0 +1,16 @@ +//Resistances connected in parallel R, Source voltage V, Limiting voltage Vl
+close();
+clear;
+clc;
+R = 700;//ohm
+V = 210;//V
+Vl = 110;//V
+//Cureent through each 700 ohm resistor 'I1'
+I1 = Vl/R;
+//Total current drawn from source 'I'
+I = 3*I1;
+//Voltage across series resistor 'Vx'
+Vx = V - Vl;
+Rx = Vx/I;
+P = V*I;
+mprintf('Value of series resistor Rx = %0.1f ohm\nPower drawn from source P = %0.1f W',Rx,P);
\ No newline at end of file |