summaryrefslogtreecommitdiff
path: root/3739/CH5/EX5.5/EX5_5.sce
diff options
context:
space:
mode:
Diffstat (limited to '3739/CH5/EX5.5/EX5_5.sce')
-rw-r--r--3739/CH5/EX5.5/EX5_5.sce14
1 files changed, 14 insertions, 0 deletions
diff --git a/3739/CH5/EX5.5/EX5_5.sce b/3739/CH5/EX5.5/EX5_5.sce
new file mode 100644
index 000000000..30baa4c53
--- /dev/null
+++ b/3739/CH5/EX5.5/EX5_5.sce
@@ -0,0 +1,14 @@
+//Chapter 5, Example 5.5, page 196
+clc
+//Initialisation
+f1=2.5 //frequency in MHz
+f2=6.3 //frequency in MHz
+K=1.1 // K factor
+
+//Calculation
+fse=1.05*f1*2 //frequency in MHz
+fsf=K*f2*2 //frequency in MHz
+
+//Results
+printf("Frequency for E layer = %.2f MHz",fse)
+printf("\nFrequency for F layer = %.2f MHz",fsf)