diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /1958/CH12 | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '1958/CH12')
-rwxr-xr-x | 1958/CH12/EX12.1/Chapter12_example12_1.sce | 18 | ||||
-rwxr-xr-x | 1958/CH12/EX12.2/Chapter12_example12_2.sce | 12 | ||||
-rwxr-xr-x | 1958/CH12/EX12.3/Chapter12_example12_3.sce | 12 | ||||
-rwxr-xr-x | 1958/CH12/EX12.4/Chapter12_example12_4.sce | 14 | ||||
-rwxr-xr-x | 1958/CH12/EX12.5/Chapter12_example12_5.sce | 14 | ||||
-rwxr-xr-x | 1958/CH12/EX12.6/Chapter12_example12_6.sce | 14 | ||||
-rwxr-xr-x | 1958/CH12/EX12.e.1/Chapter12_example1.sce | 11 | ||||
-rwxr-xr-x | 1958/CH12/EX12.e.2/Chapter12_example2.sce | 17 | ||||
-rwxr-xr-x | 1958/CH12/EX12.e.3/Chapter12_example3.sce | 13 | ||||
-rwxr-xr-x | 1958/CH12/EX12.e.4/Chapter12_example4.sce | 12 | ||||
-rwxr-xr-x | 1958/CH12/EX12.e.5/Chapter12_example5.sce | 12 | ||||
-rwxr-xr-x | 1958/CH12/EX12.e.6/Chapter12_example6.sce | 12 | ||||
-rwxr-xr-x | 1958/CH12/EX12.e.7/Chapter12_example7.sce | 12 |
13 files changed, 173 insertions, 0 deletions
diff --git a/1958/CH12/EX12.1/Chapter12_example12_1.sce b/1958/CH12/EX12.1/Chapter12_example12_1.sce new file mode 100755 index 000000000..caf146b70 --- /dev/null +++ b/1958/CH12/EX12.1/Chapter12_example12_1.sce @@ -0,0 +1,18 @@ +clc
+clear
+//Input data
+R=[6,6,12]//Resistances from circuit diagram 12.34 on page no.192 in ohms
+V=[5,2]//Voltage in V from circuit diagram 12.20 on page no.192
+
+//Calculations
+Re=((R(2)*R(3))/(R(2)+R(3)))+R(1)//Equivalent resistance in ohms for 5V supply
+I=V(1)/Re//Equivalent current in A for 5V supply
+Ve=((R(2)*R(3))/(R(2)+R(3)))*I//Voltage across 5V supply in V
+I1=(Ve/R(3))//Current in A
+Re2=(1/((1/(R(1)))+(1/(R(2)))))+R(3)//Equivalent resistance in ohms for 2V supply
+I2=V(2)/Re2//Equivalent current in A for 2V supply
+Ix=I1-I2//Current through 12 ohm resistance in A
+Iy=1/Ix//For displaying output in fraction
+
+//Output
+printf('The current through %i ohm resistor is 1/%i A',R(3),Iy)
diff --git a/1958/CH12/EX12.2/Chapter12_example12_2.sce b/1958/CH12/EX12.2/Chapter12_example12_2.sce new file mode 100755 index 000000000..b8ada7ba6 --- /dev/null +++ b/1958/CH12/EX12.2/Chapter12_example12_2.sce @@ -0,0 +1,12 @@ +clc
+clear
+//Input data
+R=[3,5,6,7]//Resistances from circuit diagram 12.36(a) on page no. 193 in ohms
+V=12//Voltage in V from circuit diagram 12.36(a) on page no. 193
+
+//Calculations
+Vth=(V*R(3))/(R(3)+R(4)+R(2))//Equivalent voltage in V
+Rth=R(1)+(((R(2)+R(4))*R(3))/(R(2)+R(4)+R(3)))//Equivalent resistance in ohms
+
+//Output
+printf('Thevenin equivalent resistance is %i ohms \n Thevenin equivalent voltage is %i V',Rth,Vth)
diff --git a/1958/CH12/EX12.3/Chapter12_example12_3.sce b/1958/CH12/EX12.3/Chapter12_example12_3.sce new file mode 100755 index 000000000..aa0dafc9d --- /dev/null +++ b/1958/CH12/EX12.3/Chapter12_example12_3.sce @@ -0,0 +1,12 @@ +clc
+clear
+//Inut data
+R=[2,3,4]//Resistances from circuit diagram 12.37(a) on page no.194 in ohms
+V=5//Voltage in V from circuit diagram 12.37(a) on page no.194
+
+//Calculations
+RN=((R(1)+R(2))*R(3))/(R(1)+R(2)+R(3))//Equivalent resistance in ohms
+IN=V/(R(1)+R(2))//Equivalent current in A
+
+//Output
+printf('Nortons equivalent resistance is %3.2f ohms \n Nortons equivalent current is %i A',RN,IN)
diff --git a/1958/CH12/EX12.4/Chapter12_example12_4.sce b/1958/CH12/EX12.4/Chapter12_example12_4.sce new file mode 100755 index 000000000..b8ea30ced --- /dev/null +++ b/1958/CH12/EX12.4/Chapter12_example12_4.sce @@ -0,0 +1,14 @@ +clc
+clear
+//Input data
+C=10*10^-6//Capicitance in F
+R=10*10^3//Resistance in ohms
+e=6//Emf of the battery in V
+
+//Calculations
+t=C*R//Time constant in s
+Qm=(C*e)/10^-6//Maximum charge in micro C
+Im=(e/R)*1000//Maximum current in mA
+
+//Output
+printf('Time constant of the circuit is %3.1f s \n Maximum charge on the capacitor is %i micro C \n Maximum current in the circuit is %3.1f mA \n Charge at time t is Q(t) = %i(1-exp(-t/%3.1f)) micro C \n Currrent at time t is I(t) = %3.1f exp(-t/%3.1f) mA',t,Qm,Im,Qm,t,Im,t)
diff --git a/1958/CH12/EX12.5/Chapter12_example12_5.sce b/1958/CH12/EX12.5/Chapter12_example12_5.sce new file mode 100755 index 000000000..f5b29f409 --- /dev/null +++ b/1958/CH12/EX12.5/Chapter12_example12_5.sce @@ -0,0 +1,14 @@ +clc
+clear
+//Input data
+L=50//Inductance in mH
+R=5//Resistance in ohms
+V=6//Volatage of the battery in V
+t=5//Time in ms
+
+//Calculations
+t1=(L/R)//Time constant in ms
+I=(V/R)*(1-exp(-t/t1))//Current in A
+
+//Output
+printf('The time constant of the circuit is %i ms \n The current in the circuit is %3.2f A',t1,I)
diff --git a/1958/CH12/EX12.6/Chapter12_example12_6.sce b/1958/CH12/EX12.6/Chapter12_example12_6.sce new file mode 100755 index 000000000..4bb2845d6 --- /dev/null +++ b/1958/CH12/EX12.6/Chapter12_example12_6.sce @@ -0,0 +1,14 @@ +clc
+clear
+//Input data
+L=6//Inductance in mH
+C=12//Capacitance in pF
+V=6//Voltage of the battery in V
+
+//Calculations
+f=(1/(2*3.14*sqrt(L*10^-3*C*10^-12)))/10^5//Frequency of oscillation in Hz*10^5
+Qm=(C*10^-12*V)/10^-12//Maximum charge in C *10^-12
+Im=(2*3.14*f*10^5*Qm*10^-12)/10^-6//Maximum current in micro A
+
+//Output
+printf('Frequency of oscillation is %3.2f *10^5 Hz \n The maximum value of charge on capacitor is %i *10^-12 C \n The current in the circuit is %i micro A',f,Qm,Im)
diff --git a/1958/CH12/EX12.e.1/Chapter12_example1.sce b/1958/CH12/EX12.e.1/Chapter12_example1.sce new file mode 100755 index 000000000..d68b4a593 --- /dev/null +++ b/1958/CH12/EX12.e.1/Chapter12_example1.sce @@ -0,0 +1,11 @@ +clc
+clear
+//Input data
+V=10//voltage in V from fig.12.7 on page no.175
+R=10//Resistance in ohms from fig.12.7 on page no.175
+
+//Calculations
+I=(V/R)//Current in A
+
+//Output
+printf('Current in the circuit shown in fig.12.7 is %i A',I)
diff --git a/1958/CH12/EX12.e.2/Chapter12_example2.sce b/1958/CH12/EX12.e.2/Chapter12_example2.sce new file mode 100755 index 000000000..4ef1e4660 --- /dev/null +++ b/1958/CH12/EX12.e.2/Chapter12_example2.sce @@ -0,0 +1,17 @@ +clc
+clear
+//Input data
+R=[6,6,3]//Resistances in the circuit from circuit diagram 12.9 on page no. 175 in ohms
+V=[24,16]//Voltages in the circuit from circuit diagram 12.9 on page no. 175 in V
+
+//Calculations
+Re1=1/((1/R(2))+(1/R(3)))//Equivalent resistance for parallel combination in ohms
+Re=R(1)+Re1//Equivalent resistance of the ciriuit in ohms
+I1=(V(1)/Re)//Current across the resistors in A
+pd=(I1*Re1)//Potential difference across A and B from circuit diagram 12.9 on page no. 175 in V
+I2=(pd/R(3))//Current across 3 ohms resistance in A
+I3=(V(2)/(R(1)+R(2)))//Current in A
+I=I2+I3//Total current
+
+//Output
+printf('The current shown in the circiut is %3.1f A',I)
diff --git a/1958/CH12/EX12.e.3/Chapter12_example3.sce b/1958/CH12/EX12.e.3/Chapter12_example3.sce new file mode 100755 index 000000000..3faeacb43 --- /dev/null +++ b/1958/CH12/EX12.e.3/Chapter12_example3.sce @@ -0,0 +1,13 @@ +clc
+clear
+//Input data
+R=[4,12,2,12]//Resistances from circuit diagram 12.12 on page no. 177 in ohms
+V=12//Voltage in V from circuit diagram 12.12 on page no. 177
+
+//Calculations
+Rth=((R(1)+R(3))*R(2))/(R(1)+R(3)+R(2))//Equivalent resistance in ohms
+Vth=(V*R(2))/(R(1)+R(3)+R(2))//Equivalent voltage in V
+I=(Vth/(Rth+R(4)))//Current in A
+
+//Output
+printf('The current through the resistor is %3.1f A',I)
diff --git a/1958/CH12/EX12.e.4/Chapter12_example4.sce b/1958/CH12/EX12.e.4/Chapter12_example4.sce new file mode 100755 index 000000000..e5b0a1b33 --- /dev/null +++ b/1958/CH12/EX12.e.4/Chapter12_example4.sce @@ -0,0 +1,12 @@ +clc
+clear
+//Input data
+R=[2,3,6]//Resistances from circuit diagram 12.15 on page no. 178 in ohms
+I=2//Current in A from circuit diagram 12.15 on page no. 178
+
+//Calculations
+Rth=(R(2)+R(3))//Equivalent resistance in ohms
+Vth=(R(3)*I)//Equivalent voltage in V
+
+//Output
+printf('Thevenin equivalent resistance is %i ohms \n Thevenin equivalent voltage is %i V',Rth,Vth)
diff --git a/1958/CH12/EX12.e.5/Chapter12_example5.sce b/1958/CH12/EX12.e.5/Chapter12_example5.sce new file mode 100755 index 000000000..8ace7fa46 --- /dev/null +++ b/1958/CH12/EX12.e.5/Chapter12_example5.sce @@ -0,0 +1,12 @@ +clc
+clear
+//Input data
+R=[12,8,3,6]//Resistances from circuit diagram 12.17 on page no.179 in ohms
+V=12//Voltage in V from circuit diagram 12.17 on page no.179
+
+//Calculations
+Rth=((R(3)*R(1))/(R(3)+R(1)))+((R(2)*R(4))/(R(2)+R(4)))//Equivalent resistance in ohms
+Vth=2.74//Thevenin voltage taken from the circuit diagram 12.19(a) on page no.179 in V
+
+//Output
+printf('Thevenin equivalent resistance is %3.2f ohms \n Thevenin equivalent voltage is %3.2f V',Rth,Vth)
diff --git a/1958/CH12/EX12.e.6/Chapter12_example6.sce b/1958/CH12/EX12.e.6/Chapter12_example6.sce new file mode 100755 index 000000000..83e52ac28 --- /dev/null +++ b/1958/CH12/EX12.e.6/Chapter12_example6.sce @@ -0,0 +1,12 @@ +clc
+clear
+//Input data
+R=[4,12,2,12]//Resistances from circuit diagram 12.20 on page no.180 in ohms
+V=12//Voltage in V from circuit diagram 12.20 on page no.180
+
+//Calculations
+RN=((R(1)+R(3))*R(2))/(R(1)+R(3)+R(2))//Equivalent resistance in ohms
+IN=(V/(RN+R(3)))//Equivalent current in A
+
+//Output
+printf('Nortons equivalent resistance is %i ohms \n Nortons equivalent current is %i A',RN,IN)
diff --git a/1958/CH12/EX12.e.7/Chapter12_example7.sce b/1958/CH12/EX12.e.7/Chapter12_example7.sce new file mode 100755 index 000000000..966692d44 --- /dev/null +++ b/1958/CH12/EX12.e.7/Chapter12_example7.sce @@ -0,0 +1,12 @@ +clc
+clear
+//Inut data
+R=[4,5,6]//Resistances from circuit diagram 12.22 on page no.181 in ohms
+I=2//Current in A from circuit diagram 12.22 on page no.181
+
+//Calculations
+RN=(R(1)+R(2)+R(3))//Equivalent resistance in ohms
+IN=(R(1)*I)/RN//Equivalent curren in A
+
+//Output
+printf('Nortons equivalent resistance is %i ohms \n Nortons equivalent current is %3.3f A',RN,IN)
|