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 /1964/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 '1964/CH12')
-rwxr-xr-x | 1964/CH12/EX12.1/ex12_1.sce | 25 | ||||
-rwxr-xr-x | 1964/CH12/EX12.10/ex12_10.sce | 19 | ||||
-rwxr-xr-x | 1964/CH12/EX12.11/ex12_11.sce | 15 | ||||
-rwxr-xr-x | 1964/CH12/EX12.16/ex12_16.sce | 15 | ||||
-rwxr-xr-x | 1964/CH12/EX12.17/ex12_17.sce | 8 | ||||
-rwxr-xr-x | 1964/CH12/EX12.18/ex12_18.sce | 9 | ||||
-rwxr-xr-x | 1964/CH12/EX12.19/ex12_19.sce | 12 | ||||
-rwxr-xr-x | 1964/CH12/EX12.2/ex12_2.sce | 14 | ||||
-rwxr-xr-x | 1964/CH12/EX12.20/ex12_20.sce | 12 | ||||
-rwxr-xr-x | 1964/CH12/EX12.21/ex12_21.sce | 14 | ||||
-rwxr-xr-x | 1964/CH12/EX12.3/ex12_3.sce | 19 | ||||
-rwxr-xr-x | 1964/CH12/EX12.4/ex12_4.sce | 23 | ||||
-rwxr-xr-x | 1964/CH12/EX12.5/ex12_5.sce | 18 | ||||
-rwxr-xr-x | 1964/CH12/EX12.6/ex12_6.sce | 13 | ||||
-rwxr-xr-x | 1964/CH12/EX12.7/ex12_7.sce | 19 | ||||
-rwxr-xr-x | 1964/CH12/EX12.8/ex12_8.sce | 12 | ||||
-rwxr-xr-x | 1964/CH12/EX12.9/ex12_9.sce | 13 |
17 files changed, 260 insertions, 0 deletions
diff --git a/1964/CH12/EX12.1/ex12_1.sce b/1964/CH12/EX12.1/ex12_1.sce new file mode 100755 index 000000000..e3fc73931 --- /dev/null +++ b/1964/CH12/EX12.1/ex12_1.sce @@ -0,0 +1,25 @@ +//Chapter-12, Example 12.1, Page 341
+//=============================================================================
+clc
+clear
+//INPUT DATA
+Vm=325;//voltage in volts
+Rl=1000;//resistive load in ohms
+rf=100;//forward resistance in ohms
+//CALCULATIONS
+//for subdivision (a)
+Im=Vm/(rf+Rl);//peak value of current in A
+Idc=Im/(%pi);//average current in A
+Irms=Im/2;//rms value of current in A
+mprintf("Thus peak value of current,average current and rms value of current are %g A ,%g A and %g A respectively\n",Im,Idc,Irms);
+//for subdivision (b)
+Pdc=(Idc)^2*(Rl);//DC power output
+mprintf("Thus DC power is %1.3f W\n",Pdc);
+//for subdivision (c)
+Pac=(Irms)^2*(rf+Rl);//AC input power
+mprintf("Thus AC power is %d W\n",Pac);
+//for subdivision (d)
+n=(Pdc/Pac);//efficiency of rectification
+n=n*100;//efficiency in percentage
+mprintf("Thus efficiency in percentage is %2.2f percentage",n);
+//=================================END OF PROGRAM======================================================================================================
diff --git a/1964/CH12/EX12.10/ex12_10.sce b/1964/CH12/EX12.10/ex12_10.sce new file mode 100755 index 000000000..9ec44116a --- /dev/null +++ b/1964/CH12/EX12.10/ex12_10.sce @@ -0,0 +1,19 @@ +//Chapter-12, Example 12.10, Page 352
+//=============================================================================
+clc
+clear
+//INPUT DATA
+V=10;//output voltage in V
+Il=200*10^-3;//load current in A
+//CALCULATIONS
+Rl=V/(Il);//effective load resistance in ohms
+ripplefactor=0.02;
+//critical value occurs at f=50 hz
+f=50;//freq in hz
+L=Rl/(3*2*%pi*f);//inductance in H
+//but taking L=60mh(about 20 percentage higher)we have
+L1=60*10^-3;//inductance in henry
+C=1.194/(ripplefactor*L1);
+mprintf("the values of L and C for LC filter are %g H and %g F respectively",L1,C)
+//note:C value calculated is wrong in textbook
+//=================================END OF PROGRAM======================================================================================================
diff --git a/1964/CH12/EX12.11/ex12_11.sce b/1964/CH12/EX12.11/ex12_11.sce new file mode 100755 index 000000000..e03e3e609 --- /dev/null +++ b/1964/CH12/EX12.11/ex12_11.sce @@ -0,0 +1,15 @@ +//Chapter-12, Example 12.11, Page 353
+//=============================================================================
+clc
+clear
+//INPUT DATA
+V=10;//output voltage in V
+Il=200*10^-3;//load current in A
+ripplefactor=0.02;
+//CALCULATIONS
+Rl=V/(Il);//resistance in ohms
+//if we assume L=10H and C1=C2=C
+L=10;//indcutance in henry
+C=sqrt(5700/(L*50*ripplefactor));
+mprintf("the values of L and C for CLC section are %d H and %1.0f uF respectively",L,C)
+//=================================END OF PROGRAM=======================================================================================================
diff --git a/1964/CH12/EX12.16/ex12_16.sce b/1964/CH12/EX12.16/ex12_16.sce new file mode 100755 index 000000000..6378297dc --- /dev/null +++ b/1964/CH12/EX12.16/ex12_16.sce @@ -0,0 +1,15 @@ +//Chapter-12, Example 12.16, Page 363
+//=============================================================================
+clc
+clear
+//The frequency of given input signal is 2000 hz.Hence,the period of the signal is 0.5ms.During the negative half of the signal,the diode is forward biased and it acts like a short circuit and the capacitor charges to 20 V.THis can be found out by applying Kirchoff's law in the input side.
+//15+Vc-5=0;
+//and
+//Vc=20 V
+//The voltage across the resistor will be equal to Dc voltage 5V
+//During the positive half of input signal,the diode is reverse biased and it acts like an open circuit.Hence,the 5V battery has no effect on V0.Applying Kirchhoff's voltage law around the outside loop,we get
+//15+20-Vo=0
+//Vo=35V
+mprintf("Vc=20V\n")
+mprintf("the voltage across resistor will be equal to 5V")
+//=================================END OF PROGRAM=======================================================================================================
diff --git a/1964/CH12/EX12.17/ex12_17.sce b/1964/CH12/EX12.17/ex12_17.sce new file mode 100755 index 000000000..10a87f0ec --- /dev/null +++ b/1964/CH12/EX12.17/ex12_17.sce @@ -0,0 +1,8 @@ +//Chapter-12, Example 12.17, Page 364
+//=============================================================================
+clc
+clear
+//During the negative half of the input signal,the diode conducts,and acts like a short circuit.Now,the output voltage,V0=0V.The capacitor is charged to 10V with polarities and it behaves like a battery.
+//During the positive half of the input signal,the diode does not conduct,and acts like an open circuit.Hence,the output voltage,V0=20V.This gives positively clamped voltage.
+mprintf("V0=10+10=20 V")
+//=================================END OF PROGRAM=======================================================================================================
diff --git a/1964/CH12/EX12.18/ex12_18.sce b/1964/CH12/EX12.18/ex12_18.sce new file mode 100755 index 000000000..8390c05ff --- /dev/null +++ b/1964/CH12/EX12.18/ex12_18.sce @@ -0,0 +1,9 @@ +//Chapter-12, Example 12.18, Page 365
+//=============================================================================
+clc
+clear
+//During the positive half of the input signal,the diode conducts and acts like a short circuit.Now,the output voltage,V0=0V.The capacitor is charged to 12V with polarities and it behaves like a battery.
+//during the negative half of the input signal,the diode does not conduct and acts like an open circuit.Hence the output voltage ,V0=-24V.This gives negatively clamped voltage.
+mprintf("V0=0V\n")
+mprintf("output voltage V0=-24V")
+//=================================END OF PROGRAM=======================================================================================================
diff --git a/1964/CH12/EX12.19/ex12_19.sce b/1964/CH12/EX12.19/ex12_19.sce new file mode 100755 index 000000000..2b5671f04 --- /dev/null +++ b/1964/CH12/EX12.19/ex12_19.sce @@ -0,0 +1,12 @@ +//Chapter-12, Example 12.19, Page 367
+//=============================================================================
+clc
+clear
+//INPUT DATA
+Rh=200;//Hall-coefficient in cubiccentimeter/C
+a=10;//conductivity in s/m
+//CALCULATIONS
+un=a*Rh;//electron mobility in cm^2/V-s
+mprintf("electron mobility is %d cm^2/V-s",un)
+//note:answer given is wrong in textbook
+//=================================END OF PROGRAM=======================================================================================================
diff --git a/1964/CH12/EX12.2/ex12_2.sce b/1964/CH12/EX12.2/ex12_2.sce new file mode 100755 index 000000000..41f116683 --- /dev/null +++ b/1964/CH12/EX12.2/ex12_2.sce @@ -0,0 +1,14 @@ +//Chapter-12, Example 12.2, Page 341
+//=============================================================================
+clc
+clear
+//INPUT DATA
+Vdc=24;//supply voltage in volts
+Rl=500;//resistance in ohms
+rf=50;//forward resistance in ohms
+//CALCULATIONS
+Idc=(Vdc)/(Rl);//average value of load current in A
+Im=(%pi)*(Idc);//maximum value of load current in A
+Vm=(Im)*(rf+Rl);//Maximum voltage required at input in volts
+mprintf("Thus average current,maximum current and maximum voltage required are %g A,%g A and %2.2f V respectively",Idc,Im,Vm);
+//=================================END OF PROGRAM======================================================================================================
diff --git a/1964/CH12/EX12.20/ex12_20.sce b/1964/CH12/EX12.20/ex12_20.sce new file mode 100755 index 000000000..48bc3072a --- /dev/null +++ b/1964/CH12/EX12.20/ex12_20.sce @@ -0,0 +1,12 @@ +//Chapter-12, Example 12.20, Page 367
+//=============================================================================
+clc
+clear
+//INPUT DATA
+a=10;//conductivity in s/m
+un=50*10^-4;//electron mobility in m^2/V-s
+q=1.6*10^-19;//charge in coulombs
+//CALCULATIONS
+n=(a/(un*q));//electron concentration in m^-3
+mprintf("electron concentration is %g m^-3 ",n)
+//=================================END OF PROGRAM=======================================================================================================
diff --git a/1964/CH12/EX12.21/ex12_21.sce b/1964/CH12/EX12.21/ex12_21.sce new file mode 100755 index 000000000..b46f29ab8 --- /dev/null +++ b/1964/CH12/EX12.21/ex12_21.sce @@ -0,0 +1,14 @@ +//Chapter-12, Example 12.21, Page 368
+//=============================================================================
+clc
+clear
+//INPUT DATA
+I=20;//current in A
+B=1.2//magnetic flux density in Wb/m^2
+Vh=60;//hall voltage in V
+w=0.5;//thickness of strip in mm
+q=1.6*10^-19;//charge in coulombs
+//CALCULATIONS
+n=(B*I)/(Vh*q*w*10^-3);//electron concentration in m^-3
+mprintf("electron density is %g m^3 ",n)
+//=================================END OF PROGRAM=======================================================================================================
diff --git a/1964/CH12/EX12.3/ex12_3.sce b/1964/CH12/EX12.3/ex12_3.sce new file mode 100755 index 000000000..fda2159f5 --- /dev/null +++ b/1964/CH12/EX12.3/ex12_3.sce @@ -0,0 +1,19 @@ +//Chapter-12, Example 12.3, Page 342
+//=============================================================================
+clc
+clear
+//INPUT DATA
+Vac=230;//AC supply voltage
+turnsratio=5;//turns ratio
+Rl=300;//resistance in ohms
+//CALCULATIONS
+Vs=(Vac)/(turnsratio);//transformer sceondary voltage in V
+Vm=sqrt(2)*(Vs);//maximum value of secondary voltage in V
+Vdc=Vm/(%pi);//DC output voltage in V
+PIV=Vm;//PIV of a diode in V
+Im=(Vm/Rl);//maximum value of load current in A
+Pm=(Im)^2*(Rl);//Maximum value of power delivered
+Idc=Vdc/(Rl);//average value of load current in A
+Pdc=(Idc)^2*(Rl);//average value of power delivered to load
+mprintf("Thus DC output voltage,PIV,Maximum value of power delivered,average value of power delivered to load are %2.1f V,%d V,%2.1f W,%1.2f W respectively",Vdc,PIV,Pm,Pdc);
+//=================================END OF PROGRAM======================================================================================================
diff --git a/1964/CH12/EX12.4/ex12_4.sce b/1964/CH12/EX12.4/ex12_4.sce new file mode 100755 index 000000000..11344ffd9 --- /dev/null +++ b/1964/CH12/EX12.4/ex12_4.sce @@ -0,0 +1,23 @@ +//Chapter-12, Example 12.4, Page 344
+//=============================================================================
+clc
+clear
+//INPUT DATA
+Vac=230;//AC supply voltage
+f=60;//frequency in Hz
+Rl=900;//load resistance in ohms
+noofturns=5;//no of turns
+Rl=900;//resistance of load in ohms
+rs=100;//secondary coil resistance in ohms
+//CALCULATIONS
+Vs=(Vac)/(noofturns);//voltage across two ends of secondary in V
+Vrms=(Vs)/2;//voltage from center tapping to one end
+Vm=Vrms*sqrt(2);//mean voltage in V
+Vdc=(2*Vm)/(%pi);//voltage across load in V
+Idc=(Vdc)/(rs+Rl);//DC current flowing through to load in A
+Pdc=(Idc)^2*(Rl);//DC power delivered to the load in W
+PIV=2*Vm;//PIV across each diode in V
+Vr=sqrt((Vrms)^2-(Vdc)^2);//Ripple voltage in V
+fr=2*f;//frequency of ripple voltage in Hz
+mprintf("Thus voltage across load,DC current flowing through to load,DC power delivered to the load,PIV across each diode,Ripple voltage are %2.1f V,%g A,%1.3f W,%d V,%2.2f V and %d Hz respectively",Vdc,Idc,Pdc,PIV,Vr,fr);
+//=================================END OF PROGRAM======================================================================================================
diff --git a/1964/CH12/EX12.5/ex12_5.sce b/1964/CH12/EX12.5/ex12_5.sce new file mode 100755 index 000000000..8e01d9ad5 --- /dev/null +++ b/1964/CH12/EX12.5/ex12_5.sce @@ -0,0 +1,18 @@ +//Chapter-12, Example 12.5, Page 344
+//=============================================================================
+clc
+clear
+//INPUT DATA
+Imax=400*10^-3;//maximum value of current in mA
+Iav=150*10^-3;//average value of current in mA
+Vs=100;//maximum value of secondary voltage in V
+//CALCULATIONS
+//we know that maximum value of current does not exceed 80 percentage
+Imax1=0.8*Imax;//maximum value of current in mA
+Vm=sqrt(2)*(Vs);//maximum value of secondary voltage in V
+Rl=(Vm)/(Imax1);//value of load resistor in ohms
+Vdc=(2*Vm)/(%pi);//DC(load) voltage
+Idc=Vdc/(Rl);//DC load current in A
+PIV=2*Vm;//PIV of each diode
+mprintf("Thus value of load resistor,voltage,current and PIV of each diode are %1.0f ohms,%d V,%1.3f A and %3.1f V respectively",Rl,Vdc,Idc,PIV);
+//=================================END OF PROGRAM======================================================================================================
diff --git a/1964/CH12/EX12.6/ex12_6.sce b/1964/CH12/EX12.6/ex12_6.sce new file mode 100755 index 000000000..9c15a4be8 --- /dev/null +++ b/1964/CH12/EX12.6/ex12_6.sce @@ -0,0 +1,13 @@ +//Chapter-12, Example 12.6, Page 345
+//=============================================================================
+clc
+clear
+//INPUT DATA
+Pdc=50;//power in W
+Rl=200;//resistance in ohms
+ripplefactor=0.01
+//CALCULATIONS
+Vdc=sqrt(Pdc*Rl);//DC voltage
+Vac=ripplefactor*Vdc;//AC voltage
+mprintf("Thus AC ripple voltage across the load is %d V",Vac);
+//=================================END OF PROGRAM======================================================================================================
diff --git a/1964/CH12/EX12.7/ex12_7.sce b/1964/CH12/EX12.7/ex12_7.sce new file mode 100755 index 000000000..6dc1715bc --- /dev/null +++ b/1964/CH12/EX12.7/ex12_7.sce @@ -0,0 +1,19 @@ +//Chapter-12, Example 12.7, Page 346
+//=============================================================================
+clc
+clear
+//INPUT DATA
+V=230;//AC supply voltage
+f=50;//frequency in Hz
+noofturns=4;//noofturns ratio
+Rl=600;//load resistance in ohms
+//CALCULATIONS
+Vrms=(V/4);//rms value of secondary voltage in V
+Vm=sqrt(2)*(Vrms);//max value of secondary voltage
+Vdc=(2*Vm)/(%pi);//DC output voltage
+Pdc=(Vdc)^2/(Rl);//DC power in W
+PIV=Vm;//PIV across each diode in V
+f0=2*f;//output frequency in Hz
+mprintf("Thus DC output voltage,DC power,PIV and output frequency are %1.0f V,%1.3f W,%2.1f V and %d hz respectively",Vdc,Pdc,PIV,f0);
+//note:in given problem,Rl is 600 ohms,but in textbook calculations Rl taken is 1000 ohms,I took Rl as 600 ohms
+//=================================END OF PROGRAM======================================================================================================
diff --git a/1964/CH12/EX12.8/ex12_8.sce b/1964/CH12/EX12.8/ex12_8.sce new file mode 100755 index 000000000..d2904b4f9 --- /dev/null +++ b/1964/CH12/EX12.8/ex12_8.sce @@ -0,0 +1,12 @@ +//Chapter-12, Example 12.8, Page 349
+//=============================================================================
+clc
+clear
+//INPUT DATA
+Rl=100;//resistance of load in ohms
+f=60;//frequency in hz
+ripplefactor=0.04;
+//CALCULATIONS
+L=Rl/(3*sqrt(2)*(2*%pi*f*ripplefactor));//inductance
+mprintf("inductance is %1.4f H",L);
+//=================================END OF PROGRAM======================================================================================================
diff --git a/1964/CH12/EX12.9/ex12_9.sce b/1964/CH12/EX12.9/ex12_9.sce new file mode 100755 index 000000000..be20e3c96 --- /dev/null +++ b/1964/CH12/EX12.9/ex12_9.sce @@ -0,0 +1,13 @@ +//Chapter-12, Example 12.9, Page 351
+//=============================================================================
+clc
+clear
+//INPUT DATA
+Rl=500;//resistance of load in ohms
+f=400;//frequency in hz
+ripplefactor=0.1;
+//CALCULATIONS
+C=inv(4*sqrt(3)*f*Rl*ripplefactor);//capacitance in uF
+mprintf("thus capacitance is %g F",C);
+//note:ripple factor is 0.1 not 0.01 as mentioned by problem in text book
+//=================================END OF PROGRAM======================================================================================================
|