summaryrefslogtreecommitdiff
path: root/3788/CH4/EX4.6.1/Ex4_6_1.sce
diff options
context:
space:
mode:
Diffstat (limited to '3788/CH4/EX4.6.1/Ex4_6_1.sce')
-rw-r--r--3788/CH4/EX4.6.1/Ex4_6_1.sce20
1 files changed, 20 insertions, 0 deletions
diff --git a/3788/CH4/EX4.6.1/Ex4_6_1.sce b/3788/CH4/EX4.6.1/Ex4_6_1.sce
new file mode 100644
index 000000000..d5ea32ff0
--- /dev/null
+++ b/3788/CH4/EX4.6.1/Ex4_6_1.sce
@@ -0,0 +1,20 @@
+//Example 4.6.1
+//Calculate the power op of an uplink transmitter
+//Variables
+clc
+clear
+Pr = -127
+Gt = 50
+Gr = 26
+Lp = 207.2
+Lta = 1.5
+Lat = 0.5
+Lpt = -2
+Pin = 0-127
+
+//Result
+Pt = Pr - Gt - Gr + Lp + Lat + Lta - Lpt
+printf("The transmitter output power is %f dBW \n",Pt)
+Rainattenuation = 7
+Ptrain = Pt + Rainattenuation
+printf("The transmitter output power due to fading of rain is %f dBW",Ptrain)