summaryrefslogtreecommitdiff
path: root/3739/CH4/EX4.10
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3739/CH4/EX4.10
parentb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff)
downloadScilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip
initial commit / add all books
Diffstat (limited to '3739/CH4/EX4.10')
-rw-r--r--3739/CH4/EX4.10/EX4_10.sce18
1 files changed, 18 insertions, 0 deletions
diff --git a/3739/CH4/EX4.10/EX4_10.sce b/3739/CH4/EX4.10/EX4_10.sce
new file mode 100644
index 000000000..e7066bb51
--- /dev/null
+++ b/3739/CH4/EX4.10/EX4_10.sce
@@ -0,0 +1,18 @@
+//Chapter 4, Example 4.10, page 159
+clc
+
+//Initialisation
+g=50 //geomagnetic latitude in degree
+R12=100 //solar activity number
+pi=3.14
+x=60*pi/180 //zenith angle in radians
+
+//Calculation
+f0=4.35+0.0058*g-0.00012*g**2
+f100=5.35+0.011*g-0.00023*g**2
+fs=f0+0.01*(f100-f0)*R12
+n=0.093+(0.00461*g)-(0.000054*(g**2))+(0.0031*R12) //The answer provided in the textbook is wrong
+F1=fs*(cos(x))**n //critical frequency
+
+//Results
+printf("Critical Frequency = %.2f MHz",F1) //The answer provided in the textbook is wrong