summaryrefslogtreecommitdiff
path: root/343/CH1/EX1.19/ex1_19.sce
diff options
context:
space:
mode:
Diffstat (limited to '343/CH1/EX1.19/ex1_19.sce')
-rwxr-xr-x343/CH1/EX1.19/ex1_19.sce21
1 files changed, 21 insertions, 0 deletions
diff --git a/343/CH1/EX1.19/ex1_19.sce b/343/CH1/EX1.19/ex1_19.sce
new file mode 100755
index 000000000..9eff73202
--- /dev/null
+++ b/343/CH1/EX1.19/ex1_19.sce
@@ -0,0 +1,21 @@
+V=30; //Assignign values to parameters
+Rcf=2;
+Ref=2;
+Rec=2.4;
+Rbc=2;
+Rac=4;
+Rae=2;
+Rab=2;
+Rad=2;
+Red=1;
+Rc=Rab+Rbc; // Simplifying the network
+Re=Rcf+Ref;
+Ra=1/((1/Rac)+(1/Rc));
+Re1=1/((1/Re)+(1/Rec));
+Ra1=Ra+Re1;
+Re2=1/((1/Rae)+(1/Ra1));
+Rd=Red+Re2;
+Req=1/((1/Rd)+(1/Rad));
+I=V/Req; // Calculation of battery current
+disp("Ohms",Req,"Effective resistance")
+disp("Amperes",I,"Battery current") \ No newline at end of file