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/CH2 | |
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/CH2')
-rwxr-xr-x | 608/CH2/EX2.01/2_01.sce | 11 | ||||
-rwxr-xr-x | 608/CH2/EX2.02/2_02.sce | 11 | ||||
-rwxr-xr-x | 608/CH2/EX2.03/2_03.sce | 11 | ||||
-rwxr-xr-x | 608/CH2/EX2.04/2_04.sce | 11 | ||||
-rwxr-xr-x | 608/CH2/EX2.05/2_05.sce | 11 | ||||
-rwxr-xr-x | 608/CH2/EX2.06/2_06.sce | 16 | ||||
-rwxr-xr-x | 608/CH2/EX2.07/2_07.sce | 14 | ||||
-rwxr-xr-x | 608/CH2/EX2.08/2_08.sce | 13 | ||||
-rwxr-xr-x | 608/CH2/EX2.09/2_09.sce | 11 | ||||
-rwxr-xr-x | 608/CH2/EX2.10/2_10.sce | 13 | ||||
-rwxr-xr-x | 608/CH2/EX2.11/2_11.sce | 13 | ||||
-rwxr-xr-x | 608/CH2/EX2.12/2_12.sce | 15 | ||||
-rwxr-xr-x | 608/CH2/EX2.13/2_13.sce | 13 | ||||
-rwxr-xr-x | 608/CH2/EX2.14/2_14.sce | 16 | ||||
-rwxr-xr-x | 608/CH2/EX2.15/2_15.sce | 12 | ||||
-rwxr-xr-x | 608/CH2/EX2.16/2_16.sce | 15 | ||||
-rwxr-xr-x | 608/CH2/EX2.17/2_17.sce | 14 | ||||
-rwxr-xr-x | 608/CH2/EX2.18/2_18.sce | 16 | ||||
-rwxr-xr-x | 608/CH2/EX2.19/2_19.sce | 18 |
19 files changed, 254 insertions, 0 deletions
diff --git a/608/CH2/EX2.01/2_01.sce b/608/CH2/EX2.01/2_01.sce new file mode 100755 index 000000000..ee51783f1 --- /dev/null +++ b/608/CH2/EX2.01/2_01.sce @@ -0,0 +1,11 @@ +//Problem 2.01: What current must flow if 0.24 coulombs is to be transferred in 15 ms?
+
+//initializing the variables:
+Q = 0.24; // in Coulomb
+t = 0.015; // in sec
+
+//calculation:
+I = Q/t
+
+printf("\n\nResult\n\n")
+printf("\nCurrent(I): %.0f Ampere(A)\n",I)
\ No newline at end of file diff --git a/608/CH2/EX2.02/2_02.sce b/608/CH2/EX2.02/2_02.sce new file mode 100755 index 000000000..bcdb5b4e1 --- /dev/null +++ b/608/CH2/EX2.02/2_02.sce @@ -0,0 +1,11 @@ +//Problem 2.02: If a current of 10 A flows for four minutes, find the quantity of electricity transferred.
+
+//initializing the variables:
+I = 10; // in Ampere
+t = 240; // in sec
+
+//calculation:
+Q = I*t
+
+printf("\n\nResult\n\n")
+printf("\nCharge(Q): %.0f Coulomb(C)\n",Q)
\ No newline at end of file diff --git a/608/CH2/EX2.03/2_03.sce b/608/CH2/EX2.03/2_03.sce new file mode 100755 index 000000000..91c2f5255 --- /dev/null +++ b/608/CH2/EX2.03/2_03.sce @@ -0,0 +1,11 @@ +//Problem 2.03: The current flowing through a resistor is 0.8 A when a p.d. of 20 V is applied. Determine the value of the resistance.
+
+//initializing the variables:
+I = 0.8; // in Ampere
+V = 20; // in Volts
+
+//calculation:
+R = V/I
+
+printf("\n\nResult\n\n")
+printf("\nResistance(R): %.0f Ohms\n",R)
\ No newline at end of file diff --git a/608/CH2/EX2.04/2_04.sce b/608/CH2/EX2.04/2_04.sce new file mode 100755 index 000000000..b20cc31ce --- /dev/null +++ b/608/CH2/EX2.04/2_04.sce @@ -0,0 +1,11 @@ +//Problem 2.04: Determine the p.d. which must be applied to a 2 kohm resistor in order that a current of 10 mA may flow.
+
+//initializing the variables:
+I = 0.010; // in Ampere
+R = 2000; // in ohms
+
+//calculation:
+V = I*R
+
+printf("\n\nResult\n\n")
+printf("\np.d.(V): %.0f Volts(V)\n",V)
\ No newline at end of file diff --git a/608/CH2/EX2.05/2_05.sce b/608/CH2/EX2.05/2_05.sce new file mode 100755 index 000000000..482ea9946 --- /dev/null +++ b/608/CH2/EX2.05/2_05.sce @@ -0,0 +1,11 @@ +//Problem 2.05: A coil has a current of 50 mA flowing through it when the applied voltage is 12 V. What is the resistance of the coil?
+
+//initializing the variables:
+I = 0.050; // in Ampere
+V = 12; // in Volts
+
+//calculation:
+R = V/I
+
+printf("\n\nResult\n\n")
+printf("\nResistance(R): %.0f Ohms\n",R)
\ No newline at end of file diff --git a/608/CH2/EX2.06/2_06.sce b/608/CH2/EX2.06/2_06.sce new file mode 100755 index 000000000..54213d54c --- /dev/null +++ b/608/CH2/EX2.06/2_06.sce @@ -0,0 +1,16 @@ +//Problem 2.06: A 100 V battery is connected across a resistor and causes a current of 5 mA to flow. Determine the resistance of the resistor. If the voltage is now reduced to 25 V, what will be the new value of the current flowing?
+
+//initializing the variables:
+I = 0.005; // in Ampere
+V1 = 100; // in Volts
+V2 = 25; // in Volts
+
+//calculation:
+//resistance
+R = V1/I
+//Current when voltage is reduced to 25 V,
+I = V2/R
+
+printf("\n\nResult\n\n")
+printf("\nResistance(R): %.0f Ohms",R)
+printf("\n Current when voltage is reduced to 25 V is %.2E A",I)
\ No newline at end of file diff --git a/608/CH2/EX2.07/2_07.sce b/608/CH2/EX2.07/2_07.sce new file mode 100755 index 000000000..82a36b2a0 --- /dev/null +++ b/608/CH2/EX2.07/2_07.sce @@ -0,0 +1,14 @@ +//Problem 2.07: What is the resistance of a coil which draws a current of (a) 50 mA and (b) 200 μA from a 120 V supply?
+
+//initializing the variables:
+I1 = 0.050; // in Ampere
+I2 = 200E-6; // in Ampere
+V = 120; // in Volts
+
+//calculation:
+R1 = V/I1
+R2 = V/I2
+
+printf("\n\nResult\n\n")
+printf("\nResistance(R1): %.0f Ohms",R1)
+printf("\nResistance(R2): %.0f Ohms\n",R2)
\ No newline at end of file diff --git a/608/CH2/EX2.08/2_08.sce b/608/CH2/EX2.08/2_08.sce new file mode 100755 index 000000000..1484ef851 --- /dev/null +++ b/608/CH2/EX2.08/2_08.sce @@ -0,0 +1,13 @@ +//Problem 2.08: A 100 W electric light bulb is connected to a 250 V supply. Determine (a) the current flowing in the bulb, and (b) the resistance of the bulb.
+
+//initializing the variables:
+P = 100; // in Watt
+V = 250; // in Volts
+
+//calculation:
+I = P/V
+R = V/I
+
+printf("\n\nResult\n\n")
+printf("\nCurrent(I): %.1f Ampere(A)",I)
+printf("\nResistance(R): %.0f Ohms\n",R)
\ No newline at end of file diff --git a/608/CH2/EX2.09/2_09.sce b/608/CH2/EX2.09/2_09.sce new file mode 100755 index 000000000..edceb587e --- /dev/null +++ b/608/CH2/EX2.09/2_09.sce @@ -0,0 +1,11 @@ +//Problem 2.09: Calculate the power dissipated when a current of 4 mA flows through a resistance of 5 k
+
+//initializing the variables:
+I = 0.004; // in ampere
+R = 5000; // in ohms
+
+//calculation:
+P = I*I*R
+
+printf("\n\nResult\n\n")
+printf("\nPower(P): %.2f Watt(W)\n",P)
\ No newline at end of file diff --git a/608/CH2/EX2.10/2_10.sce b/608/CH2/EX2.10/2_10.sce new file mode 100755 index 000000000..b26bb40dd --- /dev/null +++ b/608/CH2/EX2.10/2_10.sce @@ -0,0 +1,13 @@ +//Problem 2.10: An electric kettle has a resistance of 30. What current will flow when it is connected to a 240 V supply? Find also the power rating of the kettle.
+
+//initializing the variables:
+V = 240; // in Volts
+R = 30; // in ohms
+
+//calculation:
+I = V/R
+P = V*I
+
+printf("\n\nResult\n\n")
+printf("\nCurrent(I): %.0f Ampere(A)",I)
+printf("\nPower(P): %.0f Watt(W)\n",P)
\ No newline at end of file diff --git a/608/CH2/EX2.11/2_11.sce b/608/CH2/EX2.11/2_11.sce new file mode 100755 index 000000000..9a5eabe4a --- /dev/null +++ b/608/CH2/EX2.11/2_11.sce @@ -0,0 +1,13 @@ +//Problem 2.11: A current of 5 A flows in the winding of an electric motor, the resistance of the winding being 100. Determine (a) the p.d. across the winding, and (b) the power dissipated by the coil.
+
+//initializing the variables:
+I = 5; // in ampere
+R = 100; // in ohms
+
+//calculation:
+V = I*R
+P = I*R*I
+
+printf("\n\nResult\n\n")
+printf("\np.d(V): %.0f Volts(V)",V)
+printf("\nPower(P): %.0f Watt(W)\n",P)
\ No newline at end of file diff --git a/608/CH2/EX2.12/2_12.sce b/608/CH2/EX2.12/2_12.sce new file mode 100755 index 000000000..cdd3a7a43 --- /dev/null +++ b/608/CH2/EX2.12/2_12.sce @@ -0,0 +1,15 @@ +//Problem 2.12: The current/voltage relationship for two resistors A and B is as shown in Figure 2.5. Determine the value of the resistance of each resistor.
+
+//initializing the variables:
+I1 = 0.020; // in ampere
+V1 = 20; // in Volts
+I2 = 0.005; // in ampere
+V2 = 16; // in Volts
+
+//calculation:
+R1 = V1/I1
+R2 = V2/I2
+
+printf("\n\nResult\n\n")
+printf("\nResistance(R1): %.0f Ohms",R1)
+printf("\nResistance(R2): %.0f Ohms\n",R2)
\ No newline at end of file diff --git a/608/CH2/EX2.13/2_13.sce b/608/CH2/EX2.13/2_13.sce new file mode 100755 index 000000000..a0d96c6da --- /dev/null +++ b/608/CH2/EX2.13/2_13.sce @@ -0,0 +1,13 @@ +//Problem 2.13: The hot resistance of a 240 V filament lamp is 960. Find the current taken by the lamp and its power rating.
+
+//initializing the variables:
+V = 240; // in Volts
+R = 960; // in ohms
+
+//calculation:
+I = V/R
+P = I*V
+
+printf("\n\nResult\n\n")
+printf("\nCurrent(I): %.2f Ampere(A)",I)
+printf("\nPower(P): %.0f Watt(W)\n",P)
\ No newline at end of file diff --git a/608/CH2/EX2.14/2_14.sce b/608/CH2/EX2.14/2_14.sce new file mode 100755 index 000000000..f2c22469e --- /dev/null +++ b/608/CH2/EX2.14/2_14.sce @@ -0,0 +1,16 @@ +//Problem 2.14: A 12 V battery is connected across a load having a resistance of 40ohms. Determine the current flowing in the load, the power consumed and the energy dissipated in 2 minutes.
+
+//initializing the variables:
+V = 12; // in Volts
+R = 40; // in ohms
+t = 120; // in sec
+
+//calculation:
+I = V/R
+P = I*V
+E = P*t
+
+printf("\n\nResult\n\n")
+printf("\nCurrent(I): %.1f Ampere(A)",I)
+printf("\nPower(P): %.1f Watt(W)",P)
+printf("\nEnergy(E): %.0f Joule(J)\n",E)
\ No newline at end of file diff --git a/608/CH2/EX2.15/2_15.sce b/608/CH2/EX2.15/2_15.sce new file mode 100755 index 000000000..5489f0ba1 --- /dev/null +++ b/608/CH2/EX2.15/2_15.sce @@ -0,0 +1,12 @@ +//Problem 2.15: A source of e.m.f. of 15 V supplies a current of 2 A for six minutes. How much energy is provided in this time?
+
+//initializing the variables:
+V = 15; // in Volts
+I = 2; // in ampere
+t = 360; // in sec
+
+//calculation:
+E = V*I*t
+
+printf("\n\nResult\n\n")
+printf("\nEnergy(E): %.0f Joule(J)\n",E)
\ No newline at end of file diff --git a/608/CH2/EX2.16/2_16.sce b/608/CH2/EX2.16/2_16.sce new file mode 100755 index 000000000..64388ba2e --- /dev/null +++ b/608/CH2/EX2.16/2_16.sce @@ -0,0 +1,15 @@ +//Problem 2.16: Electrical equipment in an office takes a current of 13 A from a 240 V supply. Estimate the cost per week of electricity if the equipment is used for 30 hours each week and 1 kWh of energy costs 7p?
+
+//initializing the variables:
+V = 240; // in Volts
+I = 13; // in ampere
+t = 30; // in hours
+p = 7; // in paise per kWh
+
+//calculation:
+P = V*I
+E = P*t/1000 // in kWh
+C = E*p
+
+printf("\n\nResult\n\n")
+printf("\nCost per week: %.1f Paise(p)\n",C)
\ No newline at end of file diff --git a/608/CH2/EX2.17/2_17.sce b/608/CH2/EX2.17/2_17.sce new file mode 100755 index 000000000..72d9d7b99 --- /dev/null +++ b/608/CH2/EX2.17/2_17.sce @@ -0,0 +1,14 @@ +//Problem 2.17: An electric heater consumes 3.6 MJ when connected to a 250 V supply for 40 minutes. Find the power rating of the heater and the current taken from the supply.
+
+//initializing the variables:
+V = 250; // in Volts
+E = 3.6E6; // energy in J
+t = 2400; // in sec
+
+//calculation:
+P = E/t
+I = P/V
+
+printf("\n\nResult\n\n")
+printf("\nPower(P): %.0f Watt(W)",P)
+printf("\nCurrent(I): %.0f Ampere(A)\n",I)
\ No newline at end of file diff --git a/608/CH2/EX2.18/2_18.sce b/608/CH2/EX2.18/2_18.sce new file mode 100755 index 000000000..ea0cc9eb6 --- /dev/null +++ b/608/CH2/EX2.18/2_18.sce @@ -0,0 +1,16 @@ +//Problem 2.18: Determine the power dissipated by the element of an electric fire of resistance 20ohms when a current of 10 A flows through it. If the fire is on for 6 hours determine the energy used and the cost if 1 unit of electricity costs 7p.
+
+//initializing the variables:
+R = 20; // in ohms
+I = 10; // in ampere
+t = 6; // in hours
+p = 7; // in paise per kWh
+
+//calculation:
+P = I*I*R
+E = P*t/1000 // in kWh
+C = E*p
+
+printf("\n\nResult\n\n")
+printf("\nPower(P): %.0f Watt(W)",P)
+printf("\nCost per week: %.0f Paise(p)\n",C)
\ No newline at end of file diff --git a/608/CH2/EX2.19/2_19.sce b/608/CH2/EX2.19/2_19.sce new file mode 100755 index 000000000..19201ad65 --- /dev/null +++ b/608/CH2/EX2.19/2_19.sce @@ -0,0 +1,18 @@ +//Problem 2.19: A business uses two 3 kW fires for an average of 20 hours each per week, and six 150 W lights for 30 hours each per week. If the cost of electricity is 7p per unit, determine the weekly cost of electricity to the business.
+
+//initializing the variables:
+P1 = 3; // in kW
+P2 = 150; // in Watt
+n1 = 2; // no. of P1 Equips
+n2 = 6; // no. of P2 Equips
+t1 = 20; // in hours each per week
+t2 = 30; // in hours each per week
+p = 7; // in paise per kWh
+
+//calculation:
+E1 = P1*t1*n1 // in kWh by two P1 eqips
+E2 = P2*t2*n2/1000 // in kWh by six P2 eqips
+Et = E1 + E2
+C = Et * 7
+printf("\n\nResult\n\n")
+printf("\nCost per week: %.0f Paise(p)\n",C)
\ No newline at end of file |