From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 343/CH1/EX1.17/ex1_17.sce | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100755 343/CH1/EX1.17/ex1_17.sce (limited to '343/CH1/EX1.17/ex1_17.sce') 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 -- cgit