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.59/ex_59.sce | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100755 343/CH1/EX1.59/ex_59.sce (limited to '343/CH1/EX1.59/ex_59.sce') diff --git a/343/CH1/EX1.59/ex_59.sce b/343/CH1/EX1.59/ex_59.sce new file mode 100755 index 000000000..fce65690a --- /dev/null +++ b/343/CH1/EX1.59/ex_59.sce @@ -0,0 +1,14 @@ +V1=50; //Assigning values to parameters +V2=36; +R1=5; +R2=20; +R3=10; +I1=4; +R4=(R2*R3)/(R2+R3); +R5=R4+R1; +I5a=V1/R5; //Considering only 50V source +I5b=I1*(R4/(R4+R1)); //Considering only 4A current source +I2=V2/R3; //Converting 36V voltage source to 3.6A current source using source transformation +I5c=I2*(R4/(R4+R1)); //Considering only 3.6A current source +I=(I5b+I5c)-I5a; //Adding the currents algebraically +disp("Amperes",I,"Current through 5 Ohm resistor using Superposition principle"); \ No newline at end of file -- cgit