summaryrefslogtreecommitdiff
path: root/3802/CH2
diff options
context:
space:
mode:
Diffstat (limited to '3802/CH2')
-rw-r--r--3802/CH2/EX2.1/Ex2_1.jpgbin0 -> 24962 bytes
-rw-r--r--3802/CH2/EX2.1/Ex2_1.sce31
-rw-r--r--3802/CH2/EX2.10/Ex2_10.jpgbin0 -> 9333 bytes
-rw-r--r--3802/CH2/EX2.10/Ex2_10.sce47
-rw-r--r--3802/CH2/EX2.11/Ex2_11.jpgbin0 -> 7972 bytes
-rw-r--r--3802/CH2/EX2.11/Ex2_11.sce22
-rw-r--r--3802/CH2/EX2.12/Ex2_12.jpgbin0 -> 7797 bytes
-rw-r--r--3802/CH2/EX2.12/Ex2_12.sce15
-rw-r--r--3802/CH2/EX2.13/Ex2_13.jpgbin0 -> 7900 bytes
-rw-r--r--3802/CH2/EX2.13/Ex2_13.sce22
-rw-r--r--3802/CH2/EX2.14/Ex2_14.jpgbin0 -> 8224 bytes
-rw-r--r--3802/CH2/EX2.14/Ex2_14.sce15
-rw-r--r--3802/CH2/EX2.15/Ex2_15.jpgbin0 -> 8012 bytes
-rw-r--r--3802/CH2/EX2.15/Ex2_15.sce34
-rw-r--r--3802/CH2/EX2.16/Ex2_16.jpgbin0 -> 9664 bytes
-rw-r--r--3802/CH2/EX2.16/Ex2_16.sce28
-rw-r--r--3802/CH2/EX2.2/Ex2_2.jpgbin0 -> 8310 bytes
-rw-r--r--3802/CH2/EX2.2/Ex2_2.sce26
-rw-r--r--3802/CH2/EX2.3/Ex2_3.jpgbin0 -> 7849 bytes
-rw-r--r--3802/CH2/EX2.3/Ex2_3.sce28
-rw-r--r--3802/CH2/EX2.4/Ex2_4.jpgbin0 -> 7967 bytes
-rw-r--r--3802/CH2/EX2.4/Ex2_4.sce27
-rw-r--r--3802/CH2/EX2.5/Ex2_5.jpgbin0 -> 8185 bytes
-rw-r--r--3802/CH2/EX2.5/Ex2_5.sce26
-rw-r--r--3802/CH2/EX2.6/Ex2_6.jpgbin0 -> 8322 bytes
-rw-r--r--3802/CH2/EX2.6/Ex2_6.sce26
-rw-r--r--3802/CH2/EX2.7/Ex2_7.jpgbin0 -> 7793 bytes
-rw-r--r--3802/CH2/EX2.7/Ex2_7.sce23
-rw-r--r--3802/CH2/EX2.8/Ex2_8.jpgbin0 -> 7914 bytes
-rw-r--r--3802/CH2/EX2.8/Ex2_8.sce24
-rw-r--r--3802/CH2/EX2.9/Ex2_9.jpgbin0 -> 7498 bytes
-rw-r--r--3802/CH2/EX2.9/Ex2_9.sce32
32 files changed, 426 insertions, 0 deletions
diff --git a/3802/CH2/EX2.1/Ex2_1.jpg b/3802/CH2/EX2.1/Ex2_1.jpg
new file mode 100644
index 000000000..9bd81f516
--- /dev/null
+++ b/3802/CH2/EX2.1/Ex2_1.jpg
Binary files differ
diff --git a/3802/CH2/EX2.1/Ex2_1.sce b/3802/CH2/EX2.1/Ex2_1.sce
new file mode 100644
index 000000000..025ab9fb9
--- /dev/null
+++ b/3802/CH2/EX2.1/Ex2_1.sce
@@ -0,0 +1,31 @@
+//Book Name:Fundamentals of Electrical Engineering
+//Author:Rajendra Prasad
+//Publisher: PHI Learning Private Limited
+//Edition:Third ,2014
+
+//Ex2_1.sce.
+
+clc;
+clear;
+R1=3; //Resistance in ohm
+R2=5; //Resistance in ohm
+R3=4; //Resistance in ohm
+R4=8; //Resistance in ohm
+
+I2=1/3;
+I1=4*I2;
+I3=I1-I2;;
+V1=R1*I1; //Applying ohm's law(V=IR)
+V2=R2*I1;
+V3=R3*I2;
+V4=R4*I3;
+printf("\n The unknown voltages:")
+printf("\n\t V1=%d V",V1)
+printf("\n\t V2=%1.2f V",V2)
+printf("\n\t V3=%1.2f V",V3)
+printf("\n\t V4=%d V \n",V4)
+printf("\n The unknown currents:")
+printf("\n\t I1=%1.2f A",I1)
+printf("\n\t I2=%1.2f A",I2)
+printf("\n\t I3=%d A",I3)
+
diff --git a/3802/CH2/EX2.10/Ex2_10.jpg b/3802/CH2/EX2.10/Ex2_10.jpg
new file mode 100644
index 000000000..56e4215c3
--- /dev/null
+++ b/3802/CH2/EX2.10/Ex2_10.jpg
Binary files differ
diff --git a/3802/CH2/EX2.10/Ex2_10.sce b/3802/CH2/EX2.10/Ex2_10.sce
new file mode 100644
index 000000000..82dcd5a6b
--- /dev/null
+++ b/3802/CH2/EX2.10/Ex2_10.sce
@@ -0,0 +1,47 @@
+//Book Name:Fundamentals of Electrical Engineering
+//Author:Rajendra Prasad
+//Publisher: PHI Learning Private Limited
+//Edition:Third ,2014
+
+//Ex2_10.sce.
+
+clc;
+clear;
+R1=4;
+R2=3;
+R3=5;
+R4=6;
+
+//CASE (a)
+Vs1=80;
+VA1=(Vs1/R3)/((1/R1)+(1/R2)+(1/R3)+(1/R4));
+I1dash=VA1/R1; //From ohm's law(V=IR)
+I2dash=VA1/R2;
+I3dash=(Vs1-VA1)/R3;
+I4dash=VA1/R4;
+
+//CASE (b)
+Vs2=90;
+VA2=(Vs2/R2)/((1/R1)+(1/R2)+(1/R3)+(1/R4));
+I1doubledash=VA2/R1;
+I2doubledash=(Vs2-VA2)/R2;
+I3doubledash=VA2/R3;
+I4doubledash=VA2/R4;
+
+//CASE (c)
+Is=20;
+VA3=Is/((1/R1)+(1/R2)+(1/R3)+(1/R4));
+I1tripledash=VA3/R1;
+I2tripledash=VA3/R2;
+I3tripledash=VA3/R3;
+I4tripledash=VA3/R4;
+I1=I1dash+I1doubledash+I1tripledash;
+I2=-I2dash+I2doubledash-I2tripledash;
+I3=I3dash-I3doubledash-I3tripledash;
+I4=I4dash+I4doubledash+I4tripledash;
+printf("\n Current in 4 ohm resitance=%2.1f A \n",I1)
+printf("\n Current in 3 ohm resitance=%1.2f A \n",I2)
+printf("\n Current in 5 ohm resitance=%d A \n",I3)
+printf("\n Current in 6 ohm resitance=%2.1f A \n",I4)
+
+//The answer vary dueto roundoff error
diff --git a/3802/CH2/EX2.11/Ex2_11.jpg b/3802/CH2/EX2.11/Ex2_11.jpg
new file mode 100644
index 000000000..0f11ba69a
--- /dev/null
+++ b/3802/CH2/EX2.11/Ex2_11.jpg
Binary files differ
diff --git a/3802/CH2/EX2.11/Ex2_11.sce b/3802/CH2/EX2.11/Ex2_11.sce
new file mode 100644
index 000000000..4521d5f11
--- /dev/null
+++ b/3802/CH2/EX2.11/Ex2_11.sce
@@ -0,0 +1,22 @@
+//Book Name:Fundamentals of Electrical Engineering
+//Author:Rajendra Prasad
+//Publisher: PHI Learning Private Limited
+//Edition:Third ,2014
+
+//Ex2_11.sce
+
+clc;
+clear;
+R1=30; //Resistance in ohm
+R2=60; //Resistance in ohm
+R3=60; //Resistance in ohm
+R4=30; //Resistance in ohm
+R5=10; //Resistance in ohm
+R=50; //Resistance in ohm
+I1=5/110; //Loop1 current in Ampere
+I2=5/110; //Loop2 current in Ampere
+Voc=(I2*R2)-(I1*R1); //Open circuit voltage in Volt
+Isc=1/30; //Open circuit current in Ampere
+Rs=Voc/Isc; //Series resistance in ohm
+I=Voc/(Rs+R);
+printf("\n Current through the 50 ohm resistor=%1.3f A \n",I)
diff --git a/3802/CH2/EX2.12/Ex2_12.jpg b/3802/CH2/EX2.12/Ex2_12.jpg
new file mode 100644
index 000000000..c2ee3a356
--- /dev/null
+++ b/3802/CH2/EX2.12/Ex2_12.jpg
Binary files differ
diff --git a/3802/CH2/EX2.12/Ex2_12.sce b/3802/CH2/EX2.12/Ex2_12.sce
new file mode 100644
index 000000000..fa5868bd0
--- /dev/null
+++ b/3802/CH2/EX2.12/Ex2_12.sce
@@ -0,0 +1,15 @@
+//Book Name:Fundamentals of Electrical Engineering
+//Author:Rajendra Prasad
+//Publisher: PHI Learning Private Limited
+//Edition:Third ,2014
+
+//Ex2_12.sce
+
+clc;
+clear;
+R=50; //Resistance in ohm
+Is=1/30; //Source current in Ampere
+Rs=40.92; //Parallel resistance in ohm
+Gs=1/Rs; //Parallel conductance in mho
+I=(Is*Rs)/(Rs+R);
+printf("\n Current through the 50 ohm resistor=%1.3f A \n",I)
diff --git a/3802/CH2/EX2.13/Ex2_13.jpg b/3802/CH2/EX2.13/Ex2_13.jpg
new file mode 100644
index 000000000..9e48412bd
--- /dev/null
+++ b/3802/CH2/EX2.13/Ex2_13.jpg
Binary files differ
diff --git a/3802/CH2/EX2.13/Ex2_13.sce b/3802/CH2/EX2.13/Ex2_13.sce
new file mode 100644
index 000000000..14f16e2a1
--- /dev/null
+++ b/3802/CH2/EX2.13/Ex2_13.sce
@@ -0,0 +1,22 @@
+//Book Name:Fundamentals of Electrical Engineering
+//Author:Rajendra Prasad
+//Publisher: PHI Learning Private Limited
+//Edition:Third ,2014
+
+//Ex2_13.sce.
+
+clc;
+clear;
+R1=4; //Resistance in ohm
+R2=4; //Resistance in ohm
+R3=8; //Resistance in ohm
+R4=10; //Resistance in ohm
+R5=3; //Resistance in ohm
+R6=8; //Resistance in ohm
+R7=2; //Resistance in ohm
+R12=1/((1/R1)+(1/R2)); //R1 and R2 are in parallel
+R34=1/((1/R4)+(1/(R3+R12))); //R12 and R3 are in parallel with R4
+R56=1/((1/R6)+(1/(R5+R34))); //R34 and R5 are in parallel with R6
+Rab=R7+R56; //R56 and R7 are in series
+RL=Rab;
+printf("\n Load resitance to the 10 volt source=%d ohm \n",RL )
diff --git a/3802/CH2/EX2.14/Ex2_14.jpg b/3802/CH2/EX2.14/Ex2_14.jpg
new file mode 100644
index 000000000..ebd1ab7ae
--- /dev/null
+++ b/3802/CH2/EX2.14/Ex2_14.jpg
Binary files differ
diff --git a/3802/CH2/EX2.14/Ex2_14.sce b/3802/CH2/EX2.14/Ex2_14.sce
new file mode 100644
index 000000000..296418118
--- /dev/null
+++ b/3802/CH2/EX2.14/Ex2_14.sce
@@ -0,0 +1,15 @@
+//Book Name:Fundamentals of Electrical Engineering
+//Author:Rajendra Prasad
+//Publisher: PHI Learning Private Limited
+//Edition:Third ,2014
+
+//Ex2_14.sce
+
+clc;
+clear;
+I=5/31; //Circuit current in ampere
+Vs=5; //Source voltage in volt
+R1=3; //Resistance in ohm
+R2=4; //Resistance in ohm
+driving_point_resistance=Vs/I;
+printf("\n The driving point resistance of the voltage source=%d ohm \n",driving_point_resistance)
diff --git a/3802/CH2/EX2.15/Ex2_15.jpg b/3802/CH2/EX2.15/Ex2_15.jpg
new file mode 100644
index 000000000..1a4d3fe17
--- /dev/null
+++ b/3802/CH2/EX2.15/Ex2_15.jpg
Binary files differ
diff --git a/3802/CH2/EX2.15/Ex2_15.sce b/3802/CH2/EX2.15/Ex2_15.sce
new file mode 100644
index 000000000..81190c5be
--- /dev/null
+++ b/3802/CH2/EX2.15/Ex2_15.sce
@@ -0,0 +1,34 @@
+//Book Name:Fundamentals of Electrical Engineering
+//Author:Rajendra Prasad
+//Publisher: PHI Learning Private Limited
+//Edition:Third ,2014
+
+//Ex2_15.sce.
+
+clc;
+clear;
+R_aB=5;
+R_AB=6;
+R_BC=6;
+R_CD=5;
+R_AE=25;
+R_ED=10;
+R_DA=5;
+R_EC=50;
+
+//For triangle AED
+R_OA=(R_AE*R_DA)/(R_AE+R_ED+R_DA);
+R_OD=(R_ED*R_DA)/(R_AE+R_ED+R_DA);
+R_OE=(R_AE*R_ED)/(R_AE+R_ED+R_DA);
+
+//For triangle OCD
+R_OC=R_OE+R_EC;
+R_OdashO=(R_OC*R_OD)/(R_OC+R_OD+R_CD);
+R_OdashD=(R_CD*R_OD)/(R_OC+R_OD+R_CD);
+R_OdashC=(R_OC*R_CD)/(R_OC+R_OD+R_CD);
+
+R_OB=R_OA+R_AB;
+R_BOdash=((R_OB+R_OdashO)*(R_BC+(R_OdashC)))/(R_OB+R_OdashO+R_BC+R_OdashC);
+Rab=(R_aB+(R_BOdash)+(R_OdashD));
+printf("\n The driving point resistance=%2.1f ohms \n",Rab)
+
diff --git a/3802/CH2/EX2.16/Ex2_16.jpg b/3802/CH2/EX2.16/Ex2_16.jpg
new file mode 100644
index 000000000..861fd5915
--- /dev/null
+++ b/3802/CH2/EX2.16/Ex2_16.jpg
Binary files differ
diff --git a/3802/CH2/EX2.16/Ex2_16.sce b/3802/CH2/EX2.16/Ex2_16.sce
new file mode 100644
index 000000000..1e9a45132
--- /dev/null
+++ b/3802/CH2/EX2.16/Ex2_16.sce
@@ -0,0 +1,28 @@
+//Book Name:Fundamentals of Electrical Engineering
+//Author:Rajendra Prasad
+//Publisher: PHI Learning Private Limited
+//Edition:Third ,2014
+
+//Ex2_16.sce.
+
+clc;
+clear;
+R1=10;
+I1=2.5;
+V2=60;
+R2=30;
+I2=V2/R2; //Ohm's law
+Gs=(1/R1)+(1/R2);
+Rs=1/Gs;
+Isc=I1+I2;
+Voc=Isc*Rs;
+
+//case (a)
+printf("\n (a)")
+R=Rs;
+printf("\n The value of R which absorbs maximum power from the circuit=%1.1f ohm \n",R)
+
+//case (b)
+printf("\n (b)")
+Pm=Voc^2/(4*Rs);
+printf("\n The amount of power=%2.0f W \n",Pm)
diff --git a/3802/CH2/EX2.2/Ex2_2.jpg b/3802/CH2/EX2.2/Ex2_2.jpg
new file mode 100644
index 000000000..e0f8aea3d
--- /dev/null
+++ b/3802/CH2/EX2.2/Ex2_2.jpg
Binary files differ
diff --git a/3802/CH2/EX2.2/Ex2_2.sce b/3802/CH2/EX2.2/Ex2_2.sce
new file mode 100644
index 000000000..4f667e302
--- /dev/null
+++ b/3802/CH2/EX2.2/Ex2_2.sce
@@ -0,0 +1,26 @@
+//Book Name:Fundamentals of Electrical Engineering
+//Author:Rajendra Prasad
+//Publisher: PHI Learning Private Limited
+//Edition:Third ,2014
+
+//Ex2_2.sce.
+
+clc;
+clear;
+a1=2;b1=1;c1=5;d1=1; //these are the coefficient values of I1,I2,I3 and source obtained from loop ABDA in the given circuit
+a2=4;b2=-5;c2=-3;d2=0; //these are the coefficient values of I1,I2,I3 and source obtained from loop ABCA in the given circuit
+a3=4;b3=1;c3=-9;d3=0; //these are the coefficient values of I1,I2,I3 and source obtained from loop BCDB in the given circuit
+
+del=det([a1 b1 c1;a2 b2 c2;a3 b3 c3]);
+del1=det([d1 b1 c1;d2 b2 c2;d3 b3 c3]);
+del2=det([a1 d1 c1;a2 d2 c2;a3 d3 c3]);
+del3=det([a1 b1 d1;a2 b2 d2;a3 b3 d3]);
+
+I1=del1/del; //Using Cramer's rule
+I2=del2/del; //Using Cramer's rule
+I3=del3/del; //Using Cramer's rule
+
+printf("\n The current values are,")
+printf("\n\t I1=%1.1f A",I1)
+printf("\n\t I2=%1.1f A",I2)
+printf("\n\t I3=%1.1f A",I3)
diff --git a/3802/CH2/EX2.3/Ex2_3.jpg b/3802/CH2/EX2.3/Ex2_3.jpg
new file mode 100644
index 000000000..edc1ef3a5
--- /dev/null
+++ b/3802/CH2/EX2.3/Ex2_3.jpg
Binary files differ
diff --git a/3802/CH2/EX2.3/Ex2_3.sce b/3802/CH2/EX2.3/Ex2_3.sce
new file mode 100644
index 000000000..284c87346
--- /dev/null
+++ b/3802/CH2/EX2.3/Ex2_3.sce
@@ -0,0 +1,28 @@
+//Book Name:Fundamentals of Electrical Engineering
+//Author:Rajendra Prasad
+//Publisher: PHI Learning Private Limited
+//Edition:Third ,2014
+
+//Ex2_3.sce.
+
+clc;
+clear;
+//case1
+//voltage source series with the resistance converted into current source parallel to the conductance
+printf("\n (a)")
+Rs1=5;
+Vs1=100;
+Is1=Vs1/Rs1;
+Gs1=1/Rs1;
+printf("\n Is1=%d A \n",Is1)
+printf("\n Gs1=%1.2f mho \n",Gs1)
+
+//case2
+//current source parallel to the conductance converted into voltage source series with the resistance
+printf("\n (b)")
+Gs2=10e-3;
+Is2=500e-3;
+Vs2=Is2/Gs2;
+Rs2=1/Gs2;
+printf("\n Vs2=%d V \n",Vs2)
+printf("\n Rs2=%d ohm \n",Rs2)
diff --git a/3802/CH2/EX2.4/Ex2_4.jpg b/3802/CH2/EX2.4/Ex2_4.jpg
new file mode 100644
index 000000000..5a973ace1
--- /dev/null
+++ b/3802/CH2/EX2.4/Ex2_4.jpg
Binary files differ
diff --git a/3802/CH2/EX2.4/Ex2_4.sce b/3802/CH2/EX2.4/Ex2_4.sce
new file mode 100644
index 000000000..967a5c8c9
--- /dev/null
+++ b/3802/CH2/EX2.4/Ex2_4.sce
@@ -0,0 +1,27 @@
+//Book Name:Fundamentals of Electrical Engineering
+//Author:Rajendra Prasad
+//Publisher: PHI Learning Private Limited
+//Edition:Third ,2014
+
+//Ex2_4.sce.
+
+clc;
+clear;
+R5=60;
+a1=9;b1=-5;c1=0;d1=80; //these are the coefficient values of VA,VB,VC and the source obtained from node A in the given circuit
+a2=-1;b2=7;c2=-2;d2=24; //these are the coefficient values of VA,VB,VC and the source obtained from node B in the given circuit
+a3=0;b3=-3;c3=4;d3=36; //these are the coefficient values of VA,VB,VC and the source obtained from node C in the given circuit
+
+del=det([a1 b1 c1;a2 b2 c2;a3 b3 c3]);
+del1=det([d1 b1 c1;d2 b2 c2;d3 b3 c3]);
+del2=det([a1 d1 c1;a2 d2 c2;a3 d3 c3]);
+del3=det([a1 b1 d1;a2 b2 d2;a3 b3 d3]);
+
+VA=del1/del; //Using Cramer's rule
+VB=del2/del; //Using Cramer's rule
+VC=del3/del; //Using Cramer's rule
+Vba=VA-VB;
+I5=VC/R5; // from Ohm's law
+printf("\n Vba=%1.3f V \n",Vba)
+//Answer vary dueto round off error
+printf("\n Current through the 60 ohm resistor=%1.3f A \n",I5)
diff --git a/3802/CH2/EX2.5/Ex2_5.jpg b/3802/CH2/EX2.5/Ex2_5.jpg
new file mode 100644
index 000000000..106d92d63
--- /dev/null
+++ b/3802/CH2/EX2.5/Ex2_5.jpg
Binary files differ
diff --git a/3802/CH2/EX2.5/Ex2_5.sce b/3802/CH2/EX2.5/Ex2_5.sce
new file mode 100644
index 000000000..922fb075a
--- /dev/null
+++ b/3802/CH2/EX2.5/Ex2_5.sce
@@ -0,0 +1,26 @@
+//Book Name:Fundamentals of Electrical Engineering
+//Author:Rajendra Prasad
+//Publisher: PHI Learning Private Limited
+//Edition:Third ,2014
+
+//Ex2_5.sce.
+
+clc;
+clear;
+R1=10;
+R2=30;
+R3=15;
+R4=45;
+
+a1=3;b1=-1;c1=-9; //these are the coefficient values of VA,VB and the source obtained from node A in the given circuit
+a2=-3;b2=4;c2=-27; //these are the coefficient values of VA,VB and the source obtained from node B in the given circuit
+del=det([a1 b1;a2 b2]);
+del1=det([c1 b1;c2 b2]);
+del2=det([a1 c1;a2 c2]);
+
+VA=del1/del; //Using Cramer's rule
+VB=del2/del; //Using Cramer's rule
+Vba=VA-VB;
+I2=VA/R2; // from Ohm's law
+printf("\n Vba=%d V \n",Vba)
+printf("\n Current through the 30 ohm resistor=%1.4f A \n",I2)
diff --git a/3802/CH2/EX2.6/Ex2_6.jpg b/3802/CH2/EX2.6/Ex2_6.jpg
new file mode 100644
index 000000000..0b822e835
--- /dev/null
+++ b/3802/CH2/EX2.6/Ex2_6.jpg
Binary files differ
diff --git a/3802/CH2/EX2.6/Ex2_6.sce b/3802/CH2/EX2.6/Ex2_6.sce
new file mode 100644
index 000000000..366e65898
--- /dev/null
+++ b/3802/CH2/EX2.6/Ex2_6.sce
@@ -0,0 +1,26 @@
+//Book Name:Fundamentals of Electrical Engineering
+//Author:Rajendra Prasad
+//Publisher: PHI Learning Private Limited
+//Edition:Third ,2014
+
+//Ex2_6.sce.
+
+clc;
+clear;
+R1=15;
+R2=20;
+R3=10;
+R4=5;
+
+a1=35;b1=-20;c1=2; //these are the coefficient values of I1,I2 and source obtained from loop ABDA in the given circuit
+a2=-20;b2=35;c2=0.5; //these are the coefficient values of I1,I2 and source obtained from loop BCDB in the given circuit
+del=det([a1 b1;a2 b2]);
+del1=det([c1 b1;c2 b2]);
+del2=det([a1 c1;a2 c2]);
+
+I1=del1/del; //Using Cramer's rule
+I2=del2/del; //Using Cramer's rule
+I20=I1-I2;
+Vcb=R3*I2;
+printf("\n Current through the 20 ohm resistor=%1.4f A \n",I20)
+printf("\n Voltage across the node B and C=%1.3f V \n",Vcb)
diff --git a/3802/CH2/EX2.7/Ex2_7.jpg b/3802/CH2/EX2.7/Ex2_7.jpg
new file mode 100644
index 000000000..e8486d930
--- /dev/null
+++ b/3802/CH2/EX2.7/Ex2_7.jpg
Binary files differ
diff --git a/3802/CH2/EX2.7/Ex2_7.sce b/3802/CH2/EX2.7/Ex2_7.sce
new file mode 100644
index 000000000..2cadcd643
--- /dev/null
+++ b/3802/CH2/EX2.7/Ex2_7.sce
@@ -0,0 +1,23 @@
+//Book Name:Fundamentals of Electrical Engineering
+//Author:Rajendra Prasad
+//Publisher: PHI Learning Private Limited
+//Edition:Third ,2014
+
+//Ex2_7.sce.
+
+clc;
+clear;
+R1=5; //Resistance in ohm
+R2=2; //Resistance in ohm
+R3=3; //Resistance in ohm
+
+a1=7;b1=-5;c1=50; //these are the coefficient values of VA,VB and the source obtained from node A in the given circuit
+a2=3;b2=5;c2=0; //these are the coefficient values of VA,VB and the source obtained from node B in the given circuit
+del=det([a1 b1;a2 b2]);
+del1=det([c1 b1;c2 b2]);
+del2=det([a1 c1;a2 c2]);
+
+VA=del1/del; //Using Cramer's rule
+VB=del2/del; //Using Cramer's rule
+Vba=VA-VB;
+printf("\n Voltage across the 2 ohm resistor=%d V \n",Vba)
diff --git a/3802/CH2/EX2.8/Ex2_8.jpg b/3802/CH2/EX2.8/Ex2_8.jpg
new file mode 100644
index 000000000..4394411b3
--- /dev/null
+++ b/3802/CH2/EX2.8/Ex2_8.jpg
Binary files differ
diff --git a/3802/CH2/EX2.8/Ex2_8.sce b/3802/CH2/EX2.8/Ex2_8.sce
new file mode 100644
index 000000000..3e8178a3d
--- /dev/null
+++ b/3802/CH2/EX2.8/Ex2_8.sce
@@ -0,0 +1,24 @@
+//Book Name:Fundamentals of Electrical Engineering
+//Author:Rajendra Prasad
+//Publisher: PHI Learning Private Limited
+//Edition:Third ,2014
+
+//Ex2_8.sce.
+
+clc;
+clear;
+R1=3;
+R2=4;
+R3=2;
+R4=1;
+
+a1=7;b1=-4;c1=2; //these are the coefficient values of I1,I2 and source obtained from the first loop in the given circuit
+a2=-10;b2=7;c2=3; //these are the coefficient values of I1,I2 and source obtained from the second loop in the given circuit
+del=det([a1 b1;a2 b2]);
+del1=det([c1 b1;c2 b2]);
+del2=det([a1 c1;a2 c2]);
+
+I1=del1/del; //Using Cramer's rule
+I2=del2/del; //Using Cramer's rule
+I=I2-I1;
+printf("\n Current through the 4 ohm resistor=%1.2f A(upward) \n",I)
diff --git a/3802/CH2/EX2.9/Ex2_9.jpg b/3802/CH2/EX2.9/Ex2_9.jpg
new file mode 100644
index 000000000..82bec2369
--- /dev/null
+++ b/3802/CH2/EX2.9/Ex2_9.jpg
Binary files differ
diff --git a/3802/CH2/EX2.9/Ex2_9.sce b/3802/CH2/EX2.9/Ex2_9.sce
new file mode 100644
index 000000000..c14e97c9c
--- /dev/null
+++ b/3802/CH2/EX2.9/Ex2_9.sce
@@ -0,0 +1,32 @@
+//Book Name:Fundamentals of Electrical Engineering
+//Author:Rajendra Prasad
+//Publisher: PHI Learning Private Limited
+//Edition:Third ,2014
+
+//Ex2_9.sce.
+
+clc;
+clear;
+R1=3;
+R2=4;
+R3=2;
+R4=1;
+
+//case (a)
+a1=13;b1=-6;c1=20; //these are the coefficient values of VA,VB and source obtained from the node A in the given circuit
+a2=-5;b2=3;c2=-20; //these are the coefficient values of VA,VB and source obtained from the node B in the given circuit
+del=det([a1 b1;a2 b2]);
+del1=det([c1 b1;c2 b2]);
+VA1=del1/del;
+Idash=-VA1/R2;
+
+//case (b)
+Vs=3;
+a1=13;b1=-6;c1=9; //these are the coefficient values of VA,VB and source obtained from the node A in the given circuit
+a2=-5;b2=3;c2=0; //these are the coefficient values of VA,VB and source obtained from the node B in the given circuit
+del=det([a1 b1;a2 b2]);
+del1=det([c1 b1;c2 b2]);
+VA2=del1/del;
+I_doubledash=(Vs-VA2)/R2;
+I=Idash+I_doubledash;
+printf("\n Current through the 4 ohm resistor=%1.2f A \n",I)