summaryrefslogtreecommitdiff
path: root/3739/CH4/EX4.2/EX4_2.sce
diff options
context:
space:
mode:
Diffstat (limited to '3739/CH4/EX4.2/EX4_2.sce')
-rw-r--r--3739/CH4/EX4.2/EX4_2.sce12
1 files changed, 12 insertions, 0 deletions
diff --git a/3739/CH4/EX4.2/EX4_2.sce b/3739/CH4/EX4.2/EX4_2.sce
new file mode 100644
index 000000000..41e3dee7a
--- /dev/null
+++ b/3739/CH4/EX4.2/EX4_2.sce
@@ -0,0 +1,12 @@
+//Chapter 4, Example 4.2, page 134
+clc
+
+//Initialisation
+N=5*10**11 //Electron density in F layer
+
+//Calculation
+F=9*sqrt(N) //f0F frequency
+
+//Results
+printf("(1) hmin = 200Km hmax = 400Km") //from graph
+printf("\n(2) F = %.1f Mhz",(F*10**-6))