summaryrefslogtreecommitdiff
path: root/3788/CH5/EX5.3.2/Ex5_3_2.sce
diff options
context:
space:
mode:
Diffstat (limited to '3788/CH5/EX5.3.2/Ex5_3_2.sce')
-rw-r--r--3788/CH5/EX5.3.2/Ex5_3_2.sce16
1 files changed, 16 insertions, 0 deletions
diff --git a/3788/CH5/EX5.3.2/Ex5_3_2.sce b/3788/CH5/EX5.3.2/Ex5_3_2.sce
new file mode 100644
index 000000000..1fbf66a3e
--- /dev/null
+++ b/3788/CH5/EX5.3.2/Ex5_3_2.sce
@@ -0,0 +1,16 @@
+//Example 5.3.2
+//Claculate the bandwidth and frequency range
+//Variables
+clc
+clear
+Rs = 16
+fc = 14.125
+alpha = 0.25
+
+//result
+Bocc = Rs*(1 + alpha)
+fl = fc - (Rs/2)*(1+alpha)
+fh = fc + (Rs/2)*(1+alpha)
+
+printf("The bandwidth occupied by RF signal is %f Mhz\n",Bocc)
+printf("The frequecny range is from %f Ghz to %f Ghz",fl,fh)