diff options
Diffstat (limited to '3673/CH1/EX1.a.1/Example_a_1_1.sce')
-rw-r--r-- | 3673/CH1/EX1.a.1/Example_a_1_1.sce | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/3673/CH1/EX1.a.1/Example_a_1_1.sce b/3673/CH1/EX1.a.1/Example_a_1_1.sce new file mode 100644 index 000000000..34e4d5c2d --- /dev/null +++ b/3673/CH1/EX1.a.1/Example_a_1_1.sce @@ -0,0 +1,19 @@ +//Example 1_1 page no:20
+clc;
+Rt=1.7*10^3;
+R=3*10^3;
+It=6/Rt;
+It=It*1000;//converting to milli Ampere
+I10k=6/(10*10^3);
+I10k=I10k*1000;//converting to milli Ampere
+I3k=6/(3*10^3);
+I3k=I3k*1000;//converting to milli Ampere
+I4k=It-(I3k+I10k);
+I4_7k=I4k*(5/(5+4.7));
+V3k=I3k*R*10^-3;
+disp(It,"the total current is (in mA)");
+disp(I10k,"the current through 10k resistor is (in mA)");
+disp(I3k,"the current through 3k resistor is (in mA)");
+disp(I4k,"the current through 4k resistor is (in mA)");
+disp(I4_7k,"the current through 4.7k resistor is (in mA)");
+disp(V3k,"the voltage across 3k resistor is (in V)");
|