summaryrefslogtreecommitdiff
path: root/1574/CH3/EX3.25/M_Ex_3_25.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1574/CH3/EX3.25/M_Ex_3_25.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 '1574/CH3/EX3.25/M_Ex_3_25.sce')
-rwxr-xr-x1574/CH3/EX3.25/M_Ex_3_25.sce18
1 files changed, 18 insertions, 0 deletions
diff --git a/1574/CH3/EX3.25/M_Ex_3_25.sce b/1574/CH3/EX3.25/M_Ex_3_25.sce
new file mode 100755
index 000000000..a7307b99c
--- /dev/null
+++ b/1574/CH3/EX3.25/M_Ex_3_25.sce
@@ -0,0 +1,18 @@
+clc
+//Chapter3: Modulation
+//Example3.25, pageno 175
+//Given
+//em=3sin(2*pi*1000t)+5cos(2*pi*3000t)
+//ec=50sin(2*pi*500e3*t)
+m1=0.06//(sine wave amplitude/ peak carrier voltage)
+m2=0.1//(cosine wave amplitude/ peak carrier voltage)
+Vc=50//Carrier voltage
+R=50//load resistance
+Pc=(Vc^2)/(2*R)//Peak carrier power
+Pt=Pc*(1+((m1^2+m2^2)/2))//Total power after modulation
+mprintf('Average power is: %f watts',Pt)
+F=[0,2.5,1.5,50,1.5,2.5,0]
+T=[490,497,499,500,501,503,510]
+plot2d3(T,F,5)
+xlabel("Freq", "fontsize",3);
+ylabel("Amplitude", "fontsize",3, "color", "blue");