diff options
Diffstat (limited to '3673/CH1/EX1.14/Ex1_14.sce')
-rw-r--r-- | 3673/CH1/EX1.14/Ex1_14.sce | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/3673/CH1/EX1.14/Ex1_14.sce b/3673/CH1/EX1.14/Ex1_14.sce new file mode 100644 index 000000000..747d24ada --- /dev/null +++ b/3673/CH1/EX1.14/Ex1_14.sce @@ -0,0 +1,15 @@ +//Example 1_14 page no:16
+clc
+I=10;//supply current in ampere
+//apply kirchof law to the circuit
+V=5/(1/5+1/10+1/2+1)
+disp(V,"Voltage across 10 ohm resistor (in volts)")
+R1=5;//resistance in ohm
+R2=10;//resistance in ohm
+R3=2;//resistance in ohm
+R4=1;//resistance in ohm
+I1=V/R1;
+I2=V/R2;
+I3=V/R3;
+I4=V/R4;
+disp(I2,"Current flowing in 10 ohm resistor (in ampere)")
|