diff options
Diffstat (limited to '1430/CH1')
-rw-r--r-- | 1430/CH1/EX1.1/exa1_1.sce | 10 | ||||
-rw-r--r-- | 1430/CH1/EX1.1/exa1_1.txt | 11 | ||||
-rw-r--r-- | 1430/CH1/EX1.10/exa1_10.sce | 10 | ||||
-rw-r--r-- | 1430/CH1/EX1.10/exa1_10.txt | 12 | ||||
-rw-r--r-- | 1430/CH1/EX1.2/exa1_2.sce | 12 | ||||
-rw-r--r-- | 1430/CH1/EX1.2/exa1_2.txt | 20 | ||||
-rw-r--r-- | 1430/CH1/EX1.3/exa1_3.sce | 8 | ||||
-rw-r--r-- | 1430/CH1/EX1.3/exa1_3.txt | 16 | ||||
-rw-r--r-- | 1430/CH1/EX1.4/exa1_4.sce | 6 | ||||
-rw-r--r-- | 1430/CH1/EX1.4/exa1_4.txt | 7 | ||||
-rw-r--r-- | 1430/CH1/EX1.5/exa1_5.sce | 9 | ||||
-rw-r--r-- | 1430/CH1/EX1.5/exa1_5.txt | 11 | ||||
-rw-r--r-- | 1430/CH1/EX1.6/exa1_6.sce | 11 | ||||
-rw-r--r-- | 1430/CH1/EX1.6/exa1_6.txt | 7 | ||||
-rw-r--r-- | 1430/CH1/EX1.7/exa1_7.sce | 24 | ||||
-rw-r--r-- | 1430/CH1/EX1.7/exa1_7.txt | 36 | ||||
-rw-r--r-- | 1430/CH1/EX1.8/exa1_8.sce | 15 | ||||
-rw-r--r-- | 1430/CH1/EX1.8/exa1_8.txt | 11 | ||||
-rw-r--r-- | 1430/CH1/EX1.9/exa1_9.sce | 21 | ||||
-rw-r--r-- | 1430/CH1/EX1.9/exa1_9.txt | 20 |
20 files changed, 277 insertions, 0 deletions
diff --git a/1430/CH1/EX1.1/exa1_1.sce b/1430/CH1/EX1.1/exa1_1.sce new file mode 100644 index 000000000..0af113a66 --- /dev/null +++ b/1430/CH1/EX1.1/exa1_1.sce @@ -0,0 +1,10 @@ +// Example 1.1
+// charge Transfer and Average Current
+function[i]=f(t)
+ i=10*sin(%pi*t/2)
+endfunction // Current as a function of time
+q_T=intg(0,6,f); // Total charge is given by integrating area under the curve of // current vs time
+i_av=q_T/6;
+disp(q_T,"total charge Transfer is(in coulombs) =")
+disp(i_av,"Average current is (in Amps)=")
+
diff --git a/1430/CH1/EX1.1/exa1_1.txt b/1430/CH1/EX1.1/exa1_1.txt new file mode 100644 index 000000000..79b375c23 --- /dev/null +++ b/1430/CH1/EX1.1/exa1_1.txt @@ -0,0 +1,11 @@ +
+ -->exec('C:\Users\sangeet\Documents\Scilab\Circuits\Chapter 1\exa1.1.sce', -1)
+
+ total charge Transfer is(in coulombs) =
+
+ 12.732395
+
+ Average current is (in Amps)=
+
+ 2.1220659
+
diff --git a/1430/CH1/EX1.10/exa1_10.sce b/1430/CH1/EX1.10/exa1_10.sce new file mode 100644 index 000000000..a657319ae --- /dev/null +++ b/1430/CH1/EX1.10/exa1_10.sce @@ -0,0 +1,10 @@ +// Example 1.10
+// Design of a Biasing Circuit
+// from figure 1.34, Applying KVL in left loop we get,
+v_a=12-4-5;//Voltage drop across R_a
+R_a=v_a/(20*10^-3);// Value of resistor R_a
+// Current through R_b
+i_b=(20-16)*(10^-3);
+R_b=5/i_b;//Value of resistor R_b
+disp(R_a,"Value of Resistor R_a(in Ohms)=")
+disp(R_b,"Value of Resistor R_b(in Ohms)=")
diff --git a/1430/CH1/EX1.10/exa1_10.txt b/1430/CH1/EX1.10/exa1_10.txt new file mode 100644 index 000000000..d96739659 --- /dev/null +++ b/1430/CH1/EX1.10/exa1_10.txt @@ -0,0 +1,12 @@ +
+
+-->exec('C:\Users\sangeet\Documents\Scilab\Circuits\Chapter 1\exa1.10.sce', -1)
+
+ Value of Resistor R_a(in Ohms)=
+
+ 150.
+
+ Value of Resistor R_b(in Ohms)=
+
+ 1250.
+
diff --git a/1430/CH1/EX1.2/exa1_2.sce b/1430/CH1/EX1.2/exa1_2.sce new file mode 100644 index 000000000..20ee7bda4 --- /dev/null +++ b/1430/CH1/EX1.2/exa1_2.sce @@ -0,0 +1,12 @@ +// Example 1.2
+// Capacity of a Battery
+p=12*4; // Instantaneous power consumed by the headlight (in Watt)
+w_T=48*60; // Energy supplied in one minute (in joule)
+q_T=w_T/12; // Total charge passing through the headlight in one minute(in coulombs)
+w_stored= 5*10^6;// Energy stored in battery(in Joules)
+q_stored=w_stored/12;
+Capacity=q_stored/3600;
+disp(w_T,"Energy supplied in one minute(in Joule)=")
+disp(q_T,"Charge transfer in one minute(in Coulumbs)=")
+disp(q_stored,"Total charge stored in Battery(in Coulumbs)=")
+disp(Capacity,"Capacity of Battery (in Ah)=")
diff --git a/1430/CH1/EX1.2/exa1_2.txt b/1430/CH1/EX1.2/exa1_2.txt new file mode 100644 index 000000000..70f166fe3 --- /dev/null +++ b/1430/CH1/EX1.2/exa1_2.txt @@ -0,0 +1,20 @@ +
+
+-->exec('C:\Users\sangeet\Documents\Scilab\Circuits\Chapter 1\exa1.2.sce', -1)
+
+ Energy supplied in one minute(in Joule)=
+
+ 2880.
+
+ Charge transfer in one minute(in Coulumbs)=
+
+ 240.
+
+ Total charge stored in Battery(in Coulumbs)=
+
+ 416666.67
+
+ Capacity of Battery (in Ah)=
+
+ 115.74074
+
diff --git a/1430/CH1/EX1.3/exa1_3.sce b/1430/CH1/EX1.3/exa1_3.sce new file mode 100644 index 000000000..3d00f33f0 --- /dev/null +++ b/1430/CH1/EX1.3/exa1_3.sce @@ -0,0 +1,8 @@ +// Example 1.3
+// Magnitude Manipulations
+P_max=20; // Maximum power rating of the device
+V_max=50; // Maximum voltage rating of the device in kV
+i_max=P_max/(V_max*10^3);// Maximum current that can be drawn from the device
+disp(P_max,"Maximum power rating of the device(in Watt)=")
+disp(V_max,"Maximum voltage rating of the device(in kV)=")
+disp(i_max,"Maximum current through the device(in Amps)=")
diff --git a/1430/CH1/EX1.3/exa1_3.txt b/1430/CH1/EX1.3/exa1_3.txt new file mode 100644 index 000000000..ff1a60a1c --- /dev/null +++ b/1430/CH1/EX1.3/exa1_3.txt @@ -0,0 +1,16 @@ +
+
+-->exec('C:\Users\sangeet\Documents\Scilab\Circuits\Chapter 1\exa1.3.sce', -1)
+
+ Maximum power rating of the device(in Watt)=
+
+ 20.
+
+ Maximum voltage rating of the device(in kV)=
+
+ 50.
+
+ Maximum current through the device(in Amps)=
+
+ 0.0004
+
diff --git a/1430/CH1/EX1.4/exa1_4.sce b/1430/CH1/EX1.4/exa1_4.sce new file mode 100644 index 000000000..fea2ed7bc --- /dev/null +++ b/1430/CH1/EX1.4/exa1_4.sce @@ -0,0 +1,6 @@ +// Example 1.4
+// Current and power calculation with help of i-v curve
+i=5; // i-v curve of Headlight and battery intersects at a point where i=5A
+v=12; //i-v curve of headlight and battery intersects at a point where v=12V
+p=v*i;//Power comsumed by the Headlight
+disp(p,"Power consumed by the Headlight (in Watt)=")
diff --git a/1430/CH1/EX1.4/exa1_4.txt b/1430/CH1/EX1.4/exa1_4.txt new file mode 100644 index 000000000..dbc246f1e --- /dev/null +++ b/1430/CH1/EX1.4/exa1_4.txt @@ -0,0 +1,7 @@ +
+-->exec('C:\Users\sangeet\Documents\Scilab\Circuits\Chapter 1\exa1.4.sce', -1)
+
+ Power consumed by the Headlight (in Watt)=
+
+ 60.
+
diff --git a/1430/CH1/EX1.5/exa1_5.sce b/1430/CH1/EX1.5/exa1_5.sce new file mode 100644 index 000000000..b87f41402 --- /dev/null +++ b/1430/CH1/EX1.5/exa1_5.sce @@ -0,0 +1,9 @@ +// Example 1.5
+// Voltage and Power Calculation
+i=4*10^-3; // Value of Current source
+R=5*10^3;// Value of series resistor
+// from ohm's law
+v=R*i; // Voltage across the Resistor
+p=v*i;// Power dissipated by the resistor
+disp(v,"Voltage across the resistor(in Volts)=")
+disp(p,"Power dissipated by the resistor(in Watt)=")
diff --git a/1430/CH1/EX1.5/exa1_5.txt b/1430/CH1/EX1.5/exa1_5.txt new file mode 100644 index 000000000..d1983181d --- /dev/null +++ b/1430/CH1/EX1.5/exa1_5.txt @@ -0,0 +1,11 @@ +
+ -->exec('C:\Users\sangeet\Documents\Scilab\Circuits\Chapter 1\exa1.5.sce', -1)
+
+ Voltage across the resistor(in Volts)=
+
+ 20.
+
+ Power dissipated by the resistor(in Watt)=
+
+ 0.08
+
diff --git a/1430/CH1/EX1.6/exa1_6.sce b/1430/CH1/EX1.6/exa1_6.sce new file mode 100644 index 000000000..49bb7e8e2 --- /dev/null +++ b/1430/CH1/EX1.6/exa1_6.sce @@ -0,0 +1,11 @@ +// Example 1.6
+// A Strain Gauge
+function[delta_R]=Change_in_Resistance(R,delta_l,l) // R= Unstrained Resistance,delta_l= Change in length,l= Original Length
+ delta_R=2*R*(delta_l/l)
+endfunction
+// Exercise 1.10 to demonstrate example 1.6
+L=100;
+delta_L=0.1;
+Radius=0.002;
+delta_R=Change_in_Resistance(Radius,delta_L,L);
+disp(delta_R,"Change in Resistance(in Ohms)=")
diff --git a/1430/CH1/EX1.6/exa1_6.txt b/1430/CH1/EX1.6/exa1_6.txt new file mode 100644 index 000000000..3f82d773b --- /dev/null +++ b/1430/CH1/EX1.6/exa1_6.txt @@ -0,0 +1,7 @@ +
+-->exec('C:\Users\sangeet\Documents\Scilab\Circuits\Chapter 1\exa1.6.sce', -1)
+
+ Change in Resistance(in Ohms)=
+
+ 0.000004
+
diff --git a/1430/CH1/EX1.7/exa1_7.sce b/1430/CH1/EX1.7/exa1_7.sce new file mode 100644 index 000000000..634c13691 --- /dev/null +++ b/1430/CH1/EX1.7/exa1_7.sce @@ -0,0 +1,24 @@ +// Example 1.7
+// A Transistor Circuit
+// Enclosing the Transistor with a supernode and using KCL we get i_b as
+i_b=(10.5*10^-3)-(10*10^-3);
+// Applying KVL for the Loop CEBC we get
+v_ce=1+6;
+i_4=10*10^-3; // from the figure 1.29
+v_3=1; // from the figure 1.29
+// at node D
+i_1=i_4+(2*10^-3);
+// at node A
+i_3=(2*10^-3)-i_b;
+// Loop DCEFD
+v_4=9-v_ce
+// Loop AFDA
+v_2=v_3-9;
+disp(i_b,"Current in the Base of the Transistor,i_b(in Amps)=")
+disp(v_ce," Volatge across Collector-Emitter terminal,v_ce(in Volts)=")
+disp(i_4,"current through the Branch DC, i_4(in Amps)=")
+disp(v_3,"Voltage across the branch AF,v_3(in Volts)")
+disp(i_1,"Current through the Voltage source,i_1(in Amps)=")
+disp(i_3,"current through the branch AF,i_3(in Amps)=")
+disp(v_4,"Voltage across the Branch DC,v_4(in Volts)=")
+disp(v_2,"Voltage across the Current Source,v_2(in Volts)=")
diff --git a/1430/CH1/EX1.7/exa1_7.txt b/1430/CH1/EX1.7/exa1_7.txt new file mode 100644 index 000000000..34e1c1fdb --- /dev/null +++ b/1430/CH1/EX1.7/exa1_7.txt @@ -0,0 +1,36 @@ +
+-->exec('C:\Users\sangeet\Documents\Scilab\Circuits\Chapter 1\exa1.7.sce', -1)
+
+ Current in the Base of the Transistor,i_b(in Amps)=
+
+ 0.0005
+
+ Volatge across Collector-Emitter terminal,v_ce(in Volts)=
+
+ 7.
+
+ current through the Branch DC, i_4(in Amps)=
+
+ 0.01
+
+ Voltage across the branch AF,v_3(in Volts)
+
+ 1.
+
+ Current through the Voltage source,i_1(in Amps)=
+
+ 0.012
+
+ current through the branch AF,i_3(in Amps)=
+
+ 0.0015
+
+ Voltage across the Branch DC,v_4(in Volts)=
+
+ 2.
+
+ Voltage across the Current Source,v_2(in Volts)=
+
+ - 8.
+
+
diff --git a/1430/CH1/EX1.8/exa1_8.sce b/1430/CH1/EX1.8/exa1_8.sce new file mode 100644 index 000000000..4ec9b7864 --- /dev/null +++ b/1430/CH1/EX1.8/exa1_8.sce @@ -0,0 +1,15 @@ +// Example 1.8
+// Series and Parallel Source Connections
+// From figure 1.32(a)
+v_x=10; // Voltage across two terminal passive device
+i_x=2.5;// Current across two terminal passive device
+// Applying KVL around the loop
+v_r=12-v_x;// Voltage across the Series resistor
+//Since Series resistor carries the same current as carried by unknown two terminal
+//device we get,
+R_ser=v_r/i_x;
+// from figure 1.32(b)
+i_R=3-i_x; // Current through the Parallel Resistor
+R_par=v_x/i_R;
+disp(R_ser,"Value of Series connected resistor(in Ohms)=")
+disp(R_par,"Value of Parallel connected resistor(in Ohms)=")
diff --git a/1430/CH1/EX1.8/exa1_8.txt b/1430/CH1/EX1.8/exa1_8.txt new file mode 100644 index 000000000..1c2941f08 --- /dev/null +++ b/1430/CH1/EX1.8/exa1_8.txt @@ -0,0 +1,11 @@ +
+-->exec('C:\Users\sangeet\Documents\Scilab\Circuits\Chapter 1\exa1.8.sce', -1)
+
+ Value of Series connected resistor(in Ohms)=
+
+ 0.8
+
+ Value of Parallel connected resistor(in Ohms)=
+
+ 20.
+
diff --git a/1430/CH1/EX1.9/exa1_9.sce b/1430/CH1/EX1.9/exa1_9.sce new file mode 100644 index 000000000..9d9cf20eb --- /dev/null +++ b/1430/CH1/EX1.9/exa1_9.sce @@ -0,0 +1,21 @@ +// Example 1.9
+//Calculating Branch Variables
+// From fig 1.33
+v_4=24;
+i_4=v_4/8; // current through 8 Ohm resistor
+v_3=7*i_4;
+// Applying KVL around the Loop on the right
+v_2=v_3+v_4;// Voltage across Current source
+v_1=v_2-25;// voltage across 10 Ohm resistor
+i_2=v_2/9;//Current across 9 Ohm resistor
+i_1=-v_1/10;// Current across 10 Ohm resistor
+p_v=25*i_1;// Power supplied by the Voltage Source
+i_s=i_2+i_4-i_1;// Current supplied by current source
+// Power supplied by Current source is given by,
+p_i=v_2*i_s;
+// Power Dissipated aross various Resistors
+p_r=10*(i_1)^2+9*(i_2)^2+7*(i_4)^2+8*(i_4)^2;
+disp(i_s,"Current supplied by Current source(in Amps)=")
+disp(p_v,"Power supplied by Voltage source(in Watt)=")
+disp(p_i,"Power supplied by Current source(in Watt)=")
+disp(p_r,"Power Dissipated across various Resistors(in Watt)=")
diff --git a/1430/CH1/EX1.9/exa1_9.txt b/1430/CH1/EX1.9/exa1_9.txt new file mode 100644 index 000000000..aa201b9a4 --- /dev/null +++ b/1430/CH1/EX1.9/exa1_9.txt @@ -0,0 +1,20 @@ +
+
+-->exec('C:\Users\sangeet\Documents\Scilab\Circuits\Chapter 1\exa1.9.sce', -1)
+
+ Current supplied by Current source(in Amps)=
+
+ 10.
+
+ Power supplied by Voltage source(in Watt)=
+
+ - 50.
+
+ Power supplied by Current source(in Watt)=
+
+ 450.
+
+ Power Dissipated across various Resistors(in Watt)=
+
+ 400.
+
|