From 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 Mon Sep 17 00:00:00 2001 From: prashantsinalkar Date: Tue, 10 Oct 2017 12:27:19 +0530 Subject: initial commit / add all books --- 620/CH10/EX10.1/example10_1.sce | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 620/CH10/EX10.1/example10_1.sce (limited to '620/CH10/EX10.1/example10_1.sce') diff --git a/620/CH10/EX10.1/example10_1.sce b/620/CH10/EX10.1/example10_1.sce new file mode 100644 index 000000000..1fcfe2828 --- /dev/null +++ b/620/CH10/EX10.1/example10_1.sce @@ -0,0 +1,13 @@ +vb=13.2; +rb=0.5; +vg=14.5; +rg=0.1; +rl=2; +ib=(vg*rl-vb*(rg+rl))/(rl^2-(rb+rl)*rg+rl); +disp("the battery current (in A) is"); disp(ib); +ig=(vb-ib*(rb+rl))/rl; +disp("the generator current (in A) is"); disp(ig); +il=ib+ig; +disp("the load current (in A) is"); disp(il); +vl=il*rl; +disp("the load voltage (in V) is"); disp(vl); -- cgit