diff options
Diffstat (limited to '3673/CH1/EX1.a.5/Example_a_1_5.sce')
-rw-r--r-- | 3673/CH1/EX1.a.5/Example_a_1_5.sce | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/3673/CH1/EX1.a.5/Example_a_1_5.sce b/3673/CH1/EX1.a.5/Example_a_1_5.sce new file mode 100644 index 000000000..09f9204f6 --- /dev/null +++ b/3673/CH1/EX1.a.5/Example_a_1_5.sce @@ -0,0 +1,15 @@ +//Example 1_5 page no:23
+clc;
+//applying kirchoff law
+V=-20*10^-3/(-4.25*10^-3);
+P3=66.55;
+P20=-20*V;
+P4=V*V/(4);
+P=V*V/1;
+disp(P3,"the power absorbed by 3i current source is (in mW)");
+disp(P20,"the power absorbed by 20mA current source is (in mW)");
+disp(P4,"the power absorbed by 4 kilo ohm current source is (in mW)");
+disp(P,"the power absorbed by 1 kilo ohm current source is (in mW)");
+//in text book V value is rounded off but here the value is not rounded and used directly
+//so power result varies slightly
+//in text book V is rounded to 4.71 V
|