summaryrefslogtreecommitdiff
path: root/343/CH1/EX1.21/ex1_21.sce
diff options
context:
space:
mode:
Diffstat (limited to '343/CH1/EX1.21/ex1_21.sce')
-rwxr-xr-x343/CH1/EX1.21/ex1_21.sce15
1 files changed, 15 insertions, 0 deletions
diff --git a/343/CH1/EX1.21/ex1_21.sce b/343/CH1/EX1.21/ex1_21.sce
new file mode 100755
index 000000000..39a321bb0
--- /dev/null
+++ b/343/CH1/EX1.21/ex1_21.sce
@@ -0,0 +1,15 @@
+R1=5; //Assigning values to resistors
+R2=15;
+R3=10;
+R4=10;
+R5=40;
+R6=30;
+R7=20;
+R8=8;
+Rc=R2+R3; //Simplifying the network
+Re=R4+R5;
+Rf=R6+R7;
+R=1/((1/Re)+(1/Rf));
+Rd=1/((1/R)+(1/Rc));
+Req=Rd+R1+R8;
+disp("Ohms",Req,"Effective resistance"); \ No newline at end of file