summaryrefslogtreecommitdiff
path: root/2300/CH9/EX9.12.9
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2300/CH9/EX9.12.9
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 '2300/CH9/EX9.12.9')
-rwxr-xr-x2300/CH9/EX9.12.9/Ex9_9.sce22
1 files changed, 22 insertions, 0 deletions
diff --git a/2300/CH9/EX9.12.9/Ex9_9.sce b/2300/CH9/EX9.12.9/Ex9_9.sce
new file mode 100755
index 000000000..50130ecba
--- /dev/null
+++ b/2300/CH9/EX9.12.9/Ex9_9.sce
@@ -0,0 +1,22 @@
+//scilab 5.4.1
+//Windows 7 operating system
+//chapter 9 Basic Voltage and Power Amplifiers
+clc
+clear
+Vorms=2//Vorms=rms output voltage in the midband region of an amplifier
+Pa=42//Pa=power gain in dB
+Pol=0.4//Pol=power output in W at the lower cut-off frequency 100Hz
+Ri=10^3//Ri=input resistance in ohms
+VOrms=2/sqrt(2)//VOrms=rms output voltage at 100Hz
+format("v",6)
+disp("V",VOrms,"1. The rms output voltage at 100Hz,which is the lower cutoff frequency,is =")
+Po=2*Pol//Po=output power in the midband region
+disp("W",Po,"2. The output power in the midband region is =")
+//Let Pi=input power
+//10*log10(Po/Pi)=Pa
+Pi=Po/(10^(Pa/10))
+//Pi=(Vi^2)/Ri where Vi=rms input voltage
+Vi=sqrt(Pi*Ri)
+format("v",7)
+disp("V",Vi,"3. The rms input voltage is =")
+