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 /608/CH17 | |
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 '608/CH17')
-rwxr-xr-x | 608/CH17/EX17.01/17_01.JPG | bin | 0 -> 14379 bytes | |||
-rwxr-xr-x | 608/CH17/EX17.01/17_01.sce | 21 | ||||
-rwxr-xr-x | 608/CH17/EX17.02/17_02.JPG | bin | 0 -> 38215 bytes | |||
-rwxr-xr-x | 608/CH17/EX17.02/17_02.sce | 29 | ||||
-rwxr-xr-x | 608/CH17/EX17.03/17_03.sce | 23 | ||||
-rwxr-xr-x | 608/CH17/EX17.04/17_04.sce | 15 | ||||
-rwxr-xr-x | 608/CH17/EX17.05/17_05.sce | 22 | ||||
-rwxr-xr-x | 608/CH17/EX17.06/17_06.sce | 17 | ||||
-rwxr-xr-x | 608/CH17/EX17.07/17_07.JPG | bin | 0 -> 12426 bytes | |||
-rwxr-xr-x | 608/CH17/EX17.07/17_07.sce | 22 | ||||
-rwxr-xr-x | 608/CH17/EX17.08/17_08.sce | 21 | ||||
-rwxr-xr-x | 608/CH17/EX17.09/17_09.sce | 23 | ||||
-rwxr-xr-x | 608/CH17/EX17.10/17_10.JPG | bin | 0 -> 11733 bytes | |||
-rwxr-xr-x | 608/CH17/EX17.10/17_10.sce | 23 | ||||
-rwxr-xr-x | 608/CH17/EX17.11/17_11.sce | 21 | ||||
-rwxr-xr-x | 608/CH17/EX17.12/17_12.sce | 22 |
16 files changed, 259 insertions, 0 deletions
diff --git a/608/CH17/EX17.01/17_01.JPG b/608/CH17/EX17.01/17_01.JPG Binary files differnew file mode 100755 index 000000000..d6fc590f9 --- /dev/null +++ b/608/CH17/EX17.01/17_01.JPG diff --git a/608/CH17/EX17.01/17_01.sce b/608/CH17/EX17.01/17_01.sce new file mode 100755 index 000000000..1b2d5ec1d --- /dev/null +++ b/608/CH17/EX17.01/17_01.sce @@ -0,0 +1,21 @@ +//Problem 17.01: A 15 μF uncharged capacitor is connected in series with a 47 kohm resistor across a 120 V, d.c. supply. Use the tangential graphical method to draw the capacitor voltage/time characteristic of the circuit. From the characteristic, determine the capacitor voltage at a time equal to one time constant after being connected to the supply, and also two seconds after being connected to the supply. Also, find the time for the capacitor voltage to reach one half of its steady state value.
+
+//initializing the variables:
+C = 15E-6; // in Farads
+R = 47000; // in ohms
+V = 120; // in Volts
+
+//calculation:
+tou = R*C
+t1 = tou
+Vctou = V*(1-%e^(-1*t1/tou))
+Vct = V/2
+t = 0:0.1:10
+Vc = V*(1-%e^(-1*t/tou));
+plot(t,Vc)
+xtitle("capacitor voltage/time characteristic", "t", "Vc")
+t = -1*tou*log(1 - Vct/V)
+
+printf("\ = \n\n Result \n\n")
+printf("\n (a)the capacitor voltage at a time equal to one time constant = %.2f V",Vctou)
+printf("\n (b)the time for the capacitor voltage to reach one half of its steady state value = %.1f sec",t)
\ No newline at end of file diff --git a/608/CH17/EX17.02/17_02.JPG b/608/CH17/EX17.02/17_02.JPG Binary files differnew file mode 100755 index 000000000..136b4d003 --- /dev/null +++ b/608/CH17/EX17.02/17_02.JPG diff --git a/608/CH17/EX17.02/17_02.sce b/608/CH17/EX17.02/17_02.sce new file mode 100755 index 000000000..9e3710384 --- /dev/null +++ b/608/CH17/EX17.02/17_02.sce @@ -0,0 +1,29 @@ +//Problem 17.02: A 4 μF capacitor is charged to 24 V and then discharged through a 220 kohms resistor. Use the ‘initial slope and three point’ method to draw: (a) the capacitor voltage/time characteristic, (b) the resistor voltage/time characteristic and (c) the current/time characteristic, for the transients which occur. From the characteristics determine the value of capacitor voltage, resistor voltage and current one and a half seconds after discharge has started.
+
+//initializing the variables:
+C = 4E-6; // in Farads
+R = 220000; // in ohms
+V = 24; // in Volts
+t1 = 1.5; // in secs
+
+//calculation:
+tou = R*C
+t = 0:0.1:10
+Vc = V*(1-%e^(-1*t/tou));
+plot2d(t,Vc)
+xtitle("capacitor voltage/time characteristic", "t", "Vc")
+xset('window',1)
+VR = V*(1-%e^(-1*t/tou));
+plot2d(t,VR)
+xtitle("resistor voltage/time characteristic", "t", "VR")
+xset('window',2)
+I = V/R
+i = I*%e^(-1*t/tou)
+plot2d(t,i)
+xtitle("current/time characteristic", "t", "i")
+Vct1 = V*%e^(-1*t1/tou)
+VRt1 = V*%e^(-1*t1/tou)
+it1 = I*%e^(-1*t1/tou)
+
+printf("\ = \n\n Result \n\n")
+printf("\n the value of capacitor voltage is %.2f V, resistor voltage is %.2f V, current is %.1E A at one and a half seconds after discharge has started.",Vct1, VRt1,it1)
\ No newline at end of file diff --git a/608/CH17/EX17.03/17_03.sce b/608/CH17/EX17.03/17_03.sce new file mode 100755 index 000000000..ba030cf86 --- /dev/null +++ b/608/CH17/EX17.03/17_03.sce @@ -0,0 +1,23 @@ +//Problem 17.03: A 20 μF capacitor is connected in series with a 50 kohm resistor and the circuit is connected to a 20 V, d.c. supply. Determine (a) the initial value of the current flowing, (b) the time constant of the circuit, (c) the value of the current one second after connection, (d) the value of the capacitor voltage two seconds after connection, and (e) the time after connection when the resistor voltage is 15 V
+
+//initializing the variables:
+C = 20E-6; // in Farads
+R = 50000; // in ohms
+V = 20; // in Volts
+t1 = 1; // in secs
+t2 = 2; // in secs
+VRt = 15; // in Volts
+
+//calculation:
+tou = R*C
+I = V/R
+Vct1 = V*(1-%e^(-1*t2/tou))
+t3 = -1*tou*log(VRt/V)
+it1 = I*%e^(-1*t1/tou)
+
+printf("\ = \n\n Result \n\n")
+printf("\n (a)initial value of the current flowing is %.4f A",I)
+printf("\n (b)time constant of the circuit %.0f Sec",tou)
+printf("\n (c)the value of the current one second after connection, %.3f mA",(it1/1E-3))
+printf("\n (d)the value of the capacitor voltage two seconds after connection %.1f V",Vct1)
+printf("\n (e)the time after connection when the resistor voltage is 15 V is %.3f sec",t3)
\ No newline at end of file diff --git a/608/CH17/EX17.04/17_04.sce b/608/CH17/EX17.04/17_04.sce new file mode 100755 index 000000000..9a6eb8b1c --- /dev/null +++ b/608/CH17/EX17.04/17_04.sce @@ -0,0 +1,15 @@ +//Problem 17.04: A circuit consists of a resistor connected in series with a 0.5 μF capacitor and has a time constant of 12 ms. Determine (a) the value of the resistor, and (b) the capacitor voltage 7 ms after connecting the circuit to a 10 V supply
+
+//initializing the variables:
+C = 0.5E-6; // in Farads
+V = 10; // in Volts
+tou = 0.012; // in secs
+t1 = 0.007; // in secs
+
+//calculation:
+R = tou/C
+Vc = V*(1-%e^(-1*t1/tou))
+
+printf("\ = \n\n Result \n\n")
+printf("\n (a)value of the resistor is %.0f ohm",R)
+printf("\n (b)capacitor voltage is %.2f V",Vc)
\ No newline at end of file diff --git a/608/CH17/EX17.05/17_05.sce b/608/CH17/EX17.05/17_05.sce new file mode 100755 index 000000000..6acf05968 --- /dev/null +++ b/608/CH17/EX17.05/17_05.sce @@ -0,0 +1,22 @@ +//Problem 17.05: A capacitor is charged to 100 V and then discharged through a 50 kohm resistor. If the time constant of the circuit is 0.8 s, determine: (a) the value of the capacitor, (b) the time for the capacitor voltage to fall to 20 V, (c) the current flowing when the capacitor has been discharging for 0.5 s, and (d) the voltage drop across the resistor when the capacitor has been discharging for one second.
+
+//initializing the variables:
+R = 50000; // in ohms
+V = 100; // in Volts
+Vc1 = 20; // in Volts
+tou = 0.8; // in secs
+t1 = 0.5; // in secs
+t2 = 1; // in secs
+
+//calculation:
+C = tou/R
+t = -1*tou*log(Vc1/V)
+I = V/R
+it1 = I*%e^(-1*t1/tou)
+Vc = V*%e^(-1*t2/tou)
+
+printf("\ = \n\n Result \n\n")
+printf("\n (a)the value of the capacitor is %.2E F",C)
+printf("\n (b)the time for the capacitor voltage to fall to 20 V is %.2f sec",t)
+printf("\n (c)the current flowing when the capacitor has been discharging for 0.5 s is %.5f A",it1)
+printf("\n (d)the voltage drop across the resistor when the capacitor has been discharging for one second is %.1f V",Vc)
\ No newline at end of file diff --git a/608/CH17/EX17.06/17_06.sce b/608/CH17/EX17.06/17_06.sce new file mode 100755 index 000000000..7d096c851 --- /dev/null +++ b/608/CH17/EX17.06/17_06.sce @@ -0,0 +1,17 @@ +//Problem 17.06: A 0.1 μF capacitor is charged to 200 V before being connected across a 4 kohm resistor. Determine (a) the initial discharge current, (b) the time constant of the circuit, and (c) the minimum time required for the voltage across the capacitor to fall to less than 2 V
+
+//initializing the variables:
+C = 0.1E-6; // in Farads
+R = 4000; // in ohms
+V = 200; // in Volts
+Vc1 = 2; // in Volts
+
+//calculation:
+tou = R*C
+I = V/R
+t = -1*tou*log(Vc1/V)
+
+printf("\ = \n\n Result \n\n")
+printf("\n (a) initial discharge current is %.2f A",I)
+printf("\n (b)Time constant tou is %.4f sec",tou)
+printf("\n (c)minimum time required for the voltage across the capacitor to fall to less than 2 V is %.3f sec",t)
\ No newline at end of file diff --git a/608/CH17/EX17.07/17_07.JPG b/608/CH17/EX17.07/17_07.JPG Binary files differnew file mode 100755 index 000000000..be8fd0bf4 --- /dev/null +++ b/608/CH17/EX17.07/17_07.JPG diff --git a/608/CH17/EX17.07/17_07.sce b/608/CH17/EX17.07/17_07.sce new file mode 100755 index 000000000..875988363 --- /dev/null +++ b/608/CH17/EX17.07/17_07.sce @@ -0,0 +1,22 @@ +//Problem 17.07: A relay has an inductance of 100 mH and a resistance of 20 ohm. It is connected to a 60 V, d.c. supply. Use the ‘initial slope and three point’ method to draw the current/time characteristic and hence determine the value of current flowing at a time equal to two time constants and the time for the current to grow to 1.5 A.
+
+//initializing the variables:
+L = 0.1; // in Henry
+R = 20; // in ohms
+V = 60; // in Volts
+i2 = 1.5; // in Amperes
+
+//calculation:
+tou = L/R
+t1 = 2*tou
+t = 0:0.0001:0.025
+I = V/R
+i = I*(1 - %e^(-1*t/tou))
+plot2d(t,i)
+xtitle("current/time characteristic", "t", "i")
+i1 = I*(1 - %e^(-1*t1/tou))
+t2 = -1*tou*log(1 - i2/I)
+
+printf("\ = \n\n Result \n\n")
+printf("\n (a) the value of current flowing at a time equal to two time constants is %.3f A",i1)
+printf("\n (b)the time for the current to grow to 1.5 A is %.7f sec",t2)
\ No newline at end of file diff --git a/608/CH17/EX17.08/17_08.sce b/608/CH17/EX17.08/17_08.sce new file mode 100755 index 000000000..b0fe0c456 --- /dev/null +++ b/608/CH17/EX17.08/17_08.sce @@ -0,0 +1,21 @@ +//Problem 17.08: A coil of inductance 0.04 H and resistance 10 ohm is connected to a 120 V, d.c. supply. Determine (a) the final value of current, (b) the time constant of the circuit, (c) the value of current after a time equal to the time constant from the instant the supply voltage is connected, (d) the expected time for the current to rise to within 1% of its final value.
+
+//initializing the variables:
+L = 0.04; // in Henry
+R = 10; // in ohms
+V = 120; // in Volts
+i2 = 0.01*I; // in amperes
+
+//calculation:
+tou = L/R
+t1 = tou
+I = V/R
+i1 = I*(1 - %e^(-1*t1/tou))
+i2 = 0.01*I
+t2 = -1*tou*log(i2/I)
+
+printf("\ = \n\n Result \n\n")
+printf("\n (a) the final value of current is %.0f A",I)
+printf("\n (b)time constant of the circuit is %.3f sec",tou)
+printf("\n (c) value of current after a time equal to the time constant is %.2f A",i1)
+printf("\n (d)the expected time for the current to rise to within 0.01 times of its final value is %.2f sec",t2)
\ No newline at end of file diff --git a/608/CH17/EX17.09/17_09.sce b/608/CH17/EX17.09/17_09.sce new file mode 100755 index 000000000..eca15d991 --- /dev/null +++ b/608/CH17/EX17.09/17_09.sce @@ -0,0 +1,23 @@ +//Problem 17.09: The winding of an electromagnet has an inductance of 3 H and a resistance of 15 ohm. When it is connected to a 120 V, d.c. supply, calculate: (a) the steady state value of current flowing in the winding, (b) the time constant of the circuit, (c) the value of the induced e.m.f. after 0.1 s, (d) the time for the current to rise to 85% of its final value, and (e) the value of the current after 0.3 s.
+
+//initializing the variables:
+L = 3; // in Henry
+R = 15; // in ohms
+V = 120; // in Volts
+t1 = 0.1; // in secs
+t3 = 0.3; // in secs
+
+//calculation:
+tou = L/R
+I = V/R
+i2 = 0.85*I
+VL = V*%e^(-1*t1/tou)
+t2 = -1*tou*log(1 - (i2/I))
+i3 = I*(1 - %e^(-1*t3/tou))
+
+printf("\ = \n\n Result \n\n")
+printf("\n (a) steady state value of current is %.0f A",I)
+printf("\n (b)time constant of the circuit is %.3f sec",tou)
+printf("\n (c)value of the induced e.m.f. after 0.1 s is %.2f V",VL)
+printf("\n (d) time for the current to rise to 0.85 times of its final values is %.3f sec",t2)
+printf("\n (e)value of the current after 0.3 s is %.3f A",i3)
\ No newline at end of file diff --git a/608/CH17/EX17.10/17_10.JPG b/608/CH17/EX17.10/17_10.JPG Binary files differnew file mode 100755 index 000000000..28da724af --- /dev/null +++ b/608/CH17/EX17.10/17_10.JPG diff --git a/608/CH17/EX17.10/17_10.sce b/608/CH17/EX17.10/17_10.sce new file mode 100755 index 000000000..2336b6422 --- /dev/null +++ b/608/CH17/EX17.10/17_10.sce @@ -0,0 +1,23 @@ +//Problem 17.10: The field winding of a 110 V, d.c. motor has a resistance of 15 ohms and a time constant of 2 s. Determine the inductance and use the tangential method to draw the current/time characteristic when the supply is removed and replaced by a shorting link. From the characteristic determine (a) the current flowing in the winding 3 s after being shorted-out and (b) the time for the current to decay to 5 A.
+
+//initializing the variables:
+R = 15; // in ohms
+V = 110; // in Volts
+tou = 2; // in secs
+t1 = 3; // in secs
+i2 =5; // in amperes
+
+//calculation:
+L = tou*R
+t = 0:0.1:10
+I = V/R
+i = I*(%e^(-1*t/tou))
+plot2d(t,i)
+xtitle("current/time characteristic", "t", "i")
+i1 = I*(%e^(-1*t1/tou))
+t2 = -1*tou*log((i2/I))
+
+printf("\ = \n\n Result \n\n")
+printf("\n inductance is %.0f H",L)
+printf("\n (a)the current flowing in the winding 3 s after being shorted-out is %.2f A",i1)
+printf("\n (b)the time for the current to decay to 5 A is %.3f sec",t2)
\ No newline at end of file diff --git a/608/CH17/EX17.11/17_11.sce b/608/CH17/EX17.11/17_11.sce new file mode 100755 index 000000000..408204a89 --- /dev/null +++ b/608/CH17/EX17.11/17_11.sce @@ -0,0 +1,21 @@ +//Problem 17.11 A coil having an inductance of 6 H and a resistance of R is connected in series with a resistor of 10 to a 120 V, d.c. supply. The time constant of the circuit is 300 ms. When steady-state conditions have been reached, the supply is replaced instantaneously by a short-circuit. Determine: (a) the resistance of the coil,(b) the current flowing in the circuit one second after the shorting link has been placed in the circuit, and (c) the time taken for the current to fall to 10% of its initial value.
+
+//initializing the variables:
+L = 6; // in Henry
+r = 10; // in ohms
+V = 120; // in Volts
+tou = 0.3; // in secs
+t1 = 1; // in secs
+
+//calculation:
+R = (L/tou) - r
+Rt = R + r
+I = V/Rt
+i2 = 0.1*I
+i1 = I*(%e^(-1*t1/tou))
+t2 = -1*tou*log((i2/I))
+
+printf("\ = \n\n Result \n\n")
+printf("\n (a) resistance of the coil is %.0f ohm",R)
+printf("\n (b) current flowing in the circuit one second after the shorting link has been placed is %.3f A",i1)
+printf("\n (c)the time for the current to decay to 0.1 times of initial value is %.3f sec",t2)
\ No newline at end of file diff --git a/608/CH17/EX17.12/17_12.sce b/608/CH17/EX17.12/17_12.sce new file mode 100755 index 000000000..0bb477e1f --- /dev/null +++ b/608/CH17/EX17.12/17_12.sce @@ -0,0 +1,22 @@ +//Problem 17.12: An inductor has a negligible resistance and an inductance of 200 mH and is connected in series with a 1 kohm resistor to a 24 V, d.c. supply. Determine the time constant of the circuit and the steady-state value of the current flowing in the circuit. Find (a) the current flowing in the circuit at a time equal to one time constant, (b) the voltage drop across the inductor at a time equal to two time constants and (c) the voltage drop across the resistor after a time equal to three time constants.
+
+//initializing the variables:
+L = 0.2; // in Henry
+R = 1000; // in ohms
+V = 24; // in Volts
+
+//calculation:
+tou = L/R
+t1 = 1*tou // in secs
+t2 = 2*tou // in secs
+t3 = 3*tou // in secs
+I = V/R
+i1 = I*(1 - %e^(-1*t1/tou))
+VL = V*(%e^(-1*t2/tou))
+VR = V*(1 - %e^(-1*t3/tou))
+
+printf("\ = \n\n Result \n\n")
+printf("\n time constant of the circuit is %.4f sec, and the steady-state value of the current is %.3f A",tou, I)
+printf("\n (a) urrent flowing in the circuit at a time equal to one time constant is %.5f A",i1)
+printf("\n (b) voltage drop across the inductor at a time equal to two time constants is %.3f V",VL)
+printf("\n (c)the voltage drop across the resistor after a time equal to three time constants is %.2f V",VR)
\ No newline at end of file |