summaryrefslogtreecommitdiff
path: root/3754/CH21
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3754/CH21
parentb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff)
downloadScilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip
initial commit / add all books
Diffstat (limited to '3754/CH21')
-rw-r--r--3754/CH21/EX21.1/21_1.sce22
-rw-r--r--3754/CH21/EX21.4/21_4.sce19
-rw-r--r--3754/CH21/EX21.5/21_5.sce16
-rw-r--r--3754/CH21/EX21.6/21_6.sce17
4 files changed, 74 insertions, 0 deletions
diff --git a/3754/CH21/EX21.1/21_1.sce b/3754/CH21/EX21.1/21_1.sce
new file mode 100644
index 000000000..784037c28
--- /dev/null
+++ b/3754/CH21/EX21.1/21_1.sce
@@ -0,0 +1,22 @@
+clear//
+
+//Variables
+
+RL = 100.0 //Resistance (in ohm)
+Vm = 300.0 //Maximum voltage (in volts)
+P1 = 25.0 //Load power1 (in watt)
+P2 = 80.0 //Load power2 (in watt)
+
+//Calculation
+
+Vdc = Vm / (2 * %pi) //dc voltage (in volts)
+//When power is 25 watt
+cosinealpha = (P1 * RL / Vdc**2)**0.5 -1 //cos of alpha
+alpha = acos(cosinealpha) //Value of alpha (in radians)
+
+//When power is 80 watt
+cosinealpha1 = (P2 * RL / Vdc**2)**0.5 -1 //cos of alpha
+alpha1 = acos(cosinealpha1) //Value of alpha (in radians)
+//Result
+
+printf("\n Angular firing control when load power P = 25 W is %0.2f degree.\nAngular firing control when load power P = 80 W is %0.2f degree.",alpha*180.0/%pi,alpha1*180.0/%pi)
diff --git a/3754/CH21/EX21.4/21_4.sce b/3754/CH21/EX21.4/21_4.sce
new file mode 100644
index 000000000..0fc8fac69
--- /dev/null
+++ b/3754/CH21/EX21.4/21_4.sce
@@ -0,0 +1,19 @@
+clear//
+
+//Variables
+
+Idc = 0.5 //dc current (in Ampere)
+Vrms = 100.0 //Rms voltage (in volts)
+alpha = 45.0 //Firing angle (in degree)
+Idc = 0.5 //dc current (in Ampere)
+
+//Calculation
+
+alpharad = alpha * %pi / 180.0 //Firing angle (in radians)
+Vm = 2**0.5 * Vrms //Peak voltage (in volts)
+Vdc = Vm / (2 * %pi)*(1 + cos(alpharad)) //Average voltage (in volts)
+RL = Vdc / Idc //Load resistance (in ohm)
+
+//Result
+
+printf("\n The value of resistance to limit the average current to 0.5 A is %0.2f ohm.",RL)
diff --git a/3754/CH21/EX21.5/21_5.sce b/3754/CH21/EX21.5/21_5.sce
new file mode 100644
index 000000000..7c572fa71
--- /dev/null
+++ b/3754/CH21/EX21.5/21_5.sce
@@ -0,0 +1,16 @@
+clear//
+
+//Variables
+
+TON = 30.0 //Chopper ON time (in milli-second)
+TOFF = 10.0 //Chopper OFF time (in milli-second)
+
+//Calculation
+
+T = TON + TOFF //Total time (in milli-second)
+cdc = TON / T //Chopper duty cycle
+f = 1 / T //Chopping frequency (in Hertz)
+
+//Result
+
+printf("\n Chopper duty cycle is %0.3f .\nChopping frequency is %0.3f Hz.",cdc,f*10**3)
diff --git a/3754/CH21/EX21.6/21_6.sce b/3754/CH21/EX21.6/21_6.sce
new file mode 100644
index 000000000..57eea43ae
--- /dev/null
+++ b/3754/CH21/EX21.6/21_6.sce
@@ -0,0 +1,17 @@
+clear//
+
+//Variables
+
+TON = 30.0 //Chopper ON time (in milli-second)
+TOFF = 10.0 //Chopper OFF time (in milli-second)
+Vdc = 200.0 //dc voltage (in volts)
+
+//Calculation
+
+T = TON + TOFF //Total time (in milli-second)
+cdc = TON / T //Chopper duty cycle
+VL = Vdc * cdc //dc output voltage (in volts)
+
+//Result
+
+printf("\n Average valuye of dc voltage is %0.3f V.",VL)