From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 2300/CH9/EX9.12.9/Ex9_9.sce | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100755 2300/CH9/EX9.12.9/Ex9_9.sce (limited to '2300/CH9/EX9.12.9') 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 =") + -- cgit