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 /1184/CH4 | |
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 '1184/CH4')
-rwxr-xr-x | 1184/CH4/EX4.1/Ex4_1.sce | 20 | ||||
-rwxr-xr-x | 1184/CH4/EX4.2/Ex4_2.sce | 20 |
2 files changed, 40 insertions, 0 deletions
diff --git a/1184/CH4/EX4.1/Ex4_1.sce b/1184/CH4/EX4.1/Ex4_1.sce new file mode 100755 index 000000000..22280aa84 --- /dev/null +++ b/1184/CH4/EX4.1/Ex4_1.sce @@ -0,0 +1,20 @@ +//Example 4-1, Page No - 129
+
+clear
+clc
+
+Vcc =48
+I = 3.5
+effi_percent=70
+modulation_percent= 67
+m = modulation_percent/100
+
+Pi = Vcc*I
+Pc=Pi
+Pm = Pi/2
+Pout = (effi_percent*Pi)/100
+Ps = Pc*((m^2)/4)
+max_swing = 2*Vcc
+
+printf('The input power is %.1f watt \n AF power required for the 100 percent modulation is %.1f watt \n The carrier output power is %.1f watt\n', Pi,Pm,Pout)
+printf('The power in one sideband %.2f watt \n Maximum swing = %.1f volt\n Minimum swing =0.0 volt',Ps,max_swing)
diff --git a/1184/CH4/EX4.2/Ex4_2.sce b/1184/CH4/EX4.2/Ex4_2.sce new file mode 100755 index 000000000..030561258 --- /dev/null +++ b/1184/CH4/EX4.2/Ex4_2.sce @@ -0,0 +1,20 @@ +//Example 4-2,Page NO - 145
+
+clear
+clc
+
+fc =4.2*10^6
+voice_f_l = 300
+voice_f_u = 3400
+
+fll_usb = fc + voice_f_l
+ful_usb = fc + voice_f_u
+
+fll_lsb = fc - voice_f_l
+ful_lsb = fc - voice_f_u
+
+flsb = (fll_lsb + ful_lsb)/2
+
+printf('The range for USB is %.1f Hz to %.1f Hz',fll_usb,ful_usb)
+printf('\n The range for LSB is %.1f Hz to %.1f Hz',fll_lsb,ful_lsb)
+printf('\n The approximate center frequency of the filter \n to select the lower sideband is %.1f Hz',flsb)
|