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/CH14 | |
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/CH14')
-rwxr-xr-x | 1964/CH14/EX14.1/ex14_1.sce | 11 | ||||
-rwxr-xr-x | 1964/CH14/EX14.2/ex14_2.sce | 11 | ||||
-rwxr-xr-x | 1964/CH14/EX14.3/ex14_3.sce | 13 | ||||
-rwxr-xr-x | 1964/CH14/EX14.4/ex14_4.sce | 14 | ||||
-rwxr-xr-x | 1964/CH14/EX14.5/ex14_5.sce | 11 | ||||
-rwxr-xr-x | 1964/CH14/EX14.6/ex14_6.sce | 12 | ||||
-rwxr-xr-x | 1964/CH14/EX14.7/ex14_7.sce | 17 |
7 files changed, 89 insertions, 0 deletions
diff --git a/1964/CH14/EX14.1/ex14_1.sce b/1964/CH14/EX14.1/ex14_1.sce new file mode 100755 index 000000000..ac97b1a03 --- /dev/null +++ b/1964/CH14/EX14.1/ex14_1.sce @@ -0,0 +1,11 @@ +//Chapter-14, Example 14.1, Page 456
+//=============================================================================
+clc
+clear
+//INPUT DATA
+CMRR=10^5;//common-mode rejection ratio
+Ad=10^5;//differential gain
+//CALCULATIONS
+Acm=Ad/(CMRR);//common mode gain
+mprintf("common-mode gain is %d",Acm);
+//=================================END OF PROGRAM=======================================================================================================
diff --git a/1964/CH14/EX14.2/ex14_2.sce b/1964/CH14/EX14.2/ex14_2.sce new file mode 100755 index 000000000..6ab1bc806 --- /dev/null +++ b/1964/CH14/EX14.2/ex14_2.sce @@ -0,0 +1,11 @@ +//Chapter-14, Example 14.2, Page 458
+//=============================================================================
+clc
+clear
+//INPUT DATA
+V0=20;//voltage in volts
+t=4;//time in microsec
+//SLEW RATE
+SR=(V0)/t;//slewrate in V/us
+mprintf("slewrate is %d V/us",SR);
+//=================================END OF PROGRAM=======================================================================================================
diff --git a/1964/CH14/EX14.3/ex14_3.sce b/1964/CH14/EX14.3/ex14_3.sce new file mode 100755 index 000000000..8e30f1fc2 --- /dev/null +++ b/1964/CH14/EX14.3/ex14_3.sce @@ -0,0 +1,13 @@ +//Chapter-14, Example 14.3, Page 458
+//=============================================================================
+clc
+clear
+//INPUT DATA
+A=50;//gain of inverting amplifier
+Vid=20*10^-3;//voltage in V
+SR=0.5;//slewrate in V/us----->SR=(2*%pi*f*Vm)/(10^6)
+//CALCULATIONS
+Vm=A*(Vid);//maximum output voltage in V
+fmax=(SR*10^6)/(2*%pi*Vm);//frequency in hz
+mprintf("thus maximum frequency of the input for which undistorted output is obtained is %g hz",fmax);
+//=================================END OF PROGRAM=======================================================================================================
diff --git a/1964/CH14/EX14.4/ex14_4.sce b/1964/CH14/EX14.4/ex14_4.sce new file mode 100755 index 000000000..b2eca1b50 --- /dev/null +++ b/1964/CH14/EX14.4/ex14_4.sce @@ -0,0 +1,14 @@ +//Chapter-14, Example 14.4, Page 458
+//=============================================================================
+clc
+clear
+//INPUT DATA
+A=10;//gain of inverting amplifier
+f=40*10^3;//frequency in hz
+SR=0.5;//slewrate in V/us----->SR=(2*%pi*f*Vm)/(10^6)
+//CALCULATIONS
+Vm=(SR*10^6)/(2*%pi*f);//maximum output voltage in V peak
+Vm=2*Vm;//maximum output voltage in V peak to peak
+Vid=Vm/A;//maximum peak-to-peak input voltage for undistorted output
+mprintf("Thus maximum peak-to-peak input voltage for undistorted output is %1.3f V peak-to-peak",Vid);
+//=================================END OF PROGRAM=======================================================================================================
diff --git a/1964/CH14/EX14.5/ex14_5.sce b/1964/CH14/EX14.5/ex14_5.sce new file mode 100755 index 000000000..b391cce82 --- /dev/null +++ b/1964/CH14/EX14.5/ex14_5.sce @@ -0,0 +1,11 @@ +//Chapter-14, Example 14.5, Page 465
+//=============================================================================
+clc
+clear
+//INPUT DATA
+Rf=10*10^3;//feedback resistance in ohms
+R1=1*10^3;//resistance in ohms
+//CALCULATIONS
+Af=-(Rf/R1);//closed-loop voltage gain for inverting amplifier
+mprintf("Thus closed-loop voltage gain is %d",Af);
+//=================================END OF PROGRAM=======================================================================================================
diff --git a/1964/CH14/EX14.6/ex14_6.sce b/1964/CH14/EX14.6/ex14_6.sce new file mode 100755 index 000000000..4675ea5c3 --- /dev/null +++ b/1964/CH14/EX14.6/ex14_6.sce @@ -0,0 +1,12 @@ +//Chapter-14, Example 14.6, Page 466
+//=============================================================================
+clc
+clear
+//INPUT DATA
+Rf=10*10^3;//forward resistance in ohms
+R1=1*10^3;//resistance in ohms
+//CALCULATIONS
+Af=1+(Rf/R1);//closed-loop voltage gain in non-inverting amplifier
+b=(R1/(R1+Rf));//feedback factor
+mprintf("Thus closed-loop voltage gain and feedback factor are %d and %1.3f respectively",Af,b);
+//=================================END OF PROGRAM=======================================================================================================
diff --git a/1964/CH14/EX14.7/ex14_7.sce b/1964/CH14/EX14.7/ex14_7.sce new file mode 100755 index 000000000..5f92d17f4 --- /dev/null +++ b/1964/CH14/EX14.7/ex14_7.sce @@ -0,0 +1,17 @@ +//Chapter-14, Example 14.7, Page 473
+//=============================================================================
+clc
+clear
+//INPUT DATA
+V1=2;//input voltage 1 of summing amplifier in V
+V2=3;//input voltage 2 of summing amplifier in V
+V3=4;//input voltage 3 of summing amplifier in V
+R1=1;//resistance 1 of summing amplifier in kilo ohms
+R2=1;//resistance 2 of summing amplifier in kilo ohms
+R3=1;//resistance 3 of summing amplifier in kilo ohms
+Rf=1;//feedback resistance in kilo ohms
+R=1;//resistance in kilo ohms
+//CALCULATIONS
+V0=(-Rf/R)*(V1+V2+V3);//output voltage in volts
+mprintf("Thus output voltage is %d V",V0);
+//=================================END OF PROGRAM=======================================================================================================
|