summaryrefslogtreecommitdiff
path: root/1823/CH7/EX7.22/SolEx7_22.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1823/CH7/EX7.22/SolEx7_22.sce
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '1823/CH7/EX7.22/SolEx7_22.sce')
-rwxr-xr-x1823/CH7/EX7.22/SolEx7_22.sce22
1 files changed, 22 insertions, 0 deletions
diff --git a/1823/CH7/EX7.22/SolEx7_22.sce b/1823/CH7/EX7.22/SolEx7_22.sce
new file mode 100755
index 000000000..3a5376b3d
--- /dev/null
+++ b/1823/CH7/EX7.22/SolEx7_22.sce
@@ -0,0 +1,22 @@
+//determine the voltage gain. (c) Calculate the voltage gain using small-signalanalysis
+//Example 7.22 page no 220
+clear
+clc
+Vpp=300 //V
+Vgq=4 //V
+Rl=11.6*10^3 //Ω
+Vpm=34 //V
+Vgm=2
+Av=-(2*Vpm/2*Vgm)
+dvp=202-168
+dip=(15-8)*10^-3
+rp=dvp/dip/1000 //kΩ
+dip=(15.5-6.5)*10^-3
+dvg=-3-(-5)
+gm=dip/dvg*1000 //ms
+m=21.87
+Rl=11.6 //Ω
+Av=-(m*Rl*10^3)/((Rl+rp)*10^3) //Voltage gain
+printf("\n The value of rp=%0.3f kOhm",rp)
+printf("\n The value of gm=%0.3f mS",gm)
+printf("\n The value of Av=%0.3f ",Av)