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 --- 275/CH7/EX7.7.41/Ch7_7_41.sce | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100755 275/CH7/EX7.7.41/Ch7_7_41.sce (limited to '275/CH7/EX7.7.41/Ch7_7_41.sce') diff --git a/275/CH7/EX7.7.41/Ch7_7_41.sce b/275/CH7/EX7.7.41/Ch7_7_41.sce new file mode 100755 index 000000000..d25ed1e05 --- /dev/null +++ b/275/CH7/EX7.7.41/Ch7_7_41.sce @@ -0,0 +1,26 @@ +clc +disp("Example 7.41") +printf("\n") +disp("sketch the frequency spectrum") +printf("Given\n") +disp("carrier amplitude=10V,carrier frequency=10MHz,Modulating frequency=1Khz,MI=0.5") +Vc=10 +fc=10^7 +fm=10^3 +ma=0.5 +wc=2*%pi*fc +wm=2*%pi*fm +t=10^-7 +v=Vc*(1+(ma*sin(wm*t)))*cos(wc*t) +Vs=(ma*Vc)/2 +flsb=fc-fm +fusb=fc+fm +// take below values just for plotting graph with intial values +f1=9.9989*10^6 +v1=0 +f=[f1 flsb fc fusb] +a=[v1 Vs Vc Vs] +plot2d3(f,a) +xtitle("Frequency Spectrum") +xlabel("Frequency") +ylabel("Amplitude") \ No newline at end of file -- cgit