summaryrefslogtreecommitdiff
path: root/343/CH1/EX1.17/ex1_17.sce
diff options
context:
space:
mode:
Diffstat (limited to '343/CH1/EX1.17/ex1_17.sce')
-rwxr-xr-x343/CH1/EX1.17/ex1_17.sce12
1 files changed, 12 insertions, 0 deletions
diff --git a/343/CH1/EX1.17/ex1_17.sce b/343/CH1/EX1.17/ex1_17.sce
new file mode 100755
index 000000000..6ab386607
--- /dev/null
+++ b/343/CH1/EX1.17/ex1_17.sce
@@ -0,0 +1,12 @@
+R1=15; //Assigning values to parameters
+R2=6;
+R3=30;
+R4=3;
+R5=4;
+V=10;
+Ra=R1+R2; // Simplifying the circuit
+Rb=R3+R4;
+Rc=1/((1/Ra)+(1/Rb));
+Req=Rc+R5;
+I=V/Req;
+disp("Amperes",I,"Battery current") \ No newline at end of file