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 --- 1760/CH1/EX1.35/EX1_35.sce | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100755 1760/CH1/EX1.35/EX1_35.sce (limited to '1760/CH1/EX1.35') diff --git a/1760/CH1/EX1.35/EX1_35.sce b/1760/CH1/EX1.35/EX1_35.sce new file mode 100755 index 000000000..3f76e1c75 --- /dev/null +++ b/1760/CH1/EX1.35/EX1_35.sce @@ -0,0 +1,25 @@ + //EXAMPLE 1-35 PG NO 30-31 +I1=4; //Current +I2=6; //Current +V=110; //Voltage +Vab1=V-(6+4)*2; +VB=80; +VC=50; +R11=(Vab1-VB)/I1; +R12=(Vab1-VC)/I2; +Vab2=V-(-2+20)*2; //Voltage +R21=(VB-Vab2)/2; //Resistance +R22=(Vab2-VC)/20; //Resistance +I=(V-VB)/2; //Current +R=(VB-VC)/I; //Resistance +disp('i)variable = '+string (Vab1)+' ohm') +disp('ii)resistance = '+string (R11)+' ohm') +disp('iii)resistance = '+string (R12)+' ohm') +disp('iv)variable = '+string (Vab2)+' ohm') +disp('v)resistance = '+string (R21)+' ohm') +disp('vi)resistance = '+string (R22)+' ohm') +disp('vii) resistance = '+string (R) + ' ohm') +disp('viii) Current = '+string (I) + ' A') + + + -- cgit