summaryrefslogtreecommitdiff
path: root/3673/CH1/EX1.13/Ex1_13.sce
diff options
context:
space:
mode:
Diffstat (limited to '3673/CH1/EX1.13/Ex1_13.sce')
-rw-r--r--3673/CH1/EX1.13/Ex1_13.sce14
1 files changed, 14 insertions, 0 deletions
diff --git a/3673/CH1/EX1.13/Ex1_13.sce b/3673/CH1/EX1.13/Ex1_13.sce
new file mode 100644
index 000000000..99ddc353b
--- /dev/null
+++ b/3673/CH1/EX1.13/Ex1_13.sce
@@ -0,0 +1,14 @@
+//Example 1_13 page no:16
+clc
+//apply kirchoff's law to the given circuit
+I=50//current in ampere
+R1=2;//resistance in ohm
+R2=1;//resistance in ohm
+R3=5;//resistance in ohm
+V=I/(1/2+1/1+1/5)
+I1=V/R1;
+disp(I1,"Current flowing in 2 ohm resistor is (in ampere)")
+I2=V/R2;
+disp(I2,"Current flowing in 1 ohm resistor is (in ampere)")
+I3=V/R3;
+disp(I3,"Current flowing in 5 ohm resistor is (in ampere)")