summaryrefslogtreecommitdiff
path: root/3739/CH2/EX2.1/EX2_1.sce
diff options
context:
space:
mode:
Diffstat (limited to '3739/CH2/EX2.1/EX2_1.sce')
-rw-r--r--3739/CH2/EX2.1/EX2_1.sce19
1 files changed, 19 insertions, 0 deletions
diff --git a/3739/CH2/EX2.1/EX2_1.sce b/3739/CH2/EX2.1/EX2_1.sce
new file mode 100644
index 000000000..a42fb2950
--- /dev/null
+++ b/3739/CH2/EX2.1/EX2_1.sce
@@ -0,0 +1,19 @@
+//Chapter 2, Example 2.1, page 25
+clc
+//Initialisation
+sig=0.005 //sigma
+ur=1 //relative permeability
+er=12 //relative permittivity
+eo=8.85*10**-12 //permittivity of a free space
+f1=10*10**3 //frequency of radio wave 1
+f2=10*10**9 //frequency of radio wave 2
+pi=3.14
+
+//Calculation
+c1=sig/(2*pi*f1*eo*er) //conductivity at f1
+c2=sig/(2*pi*f2*eo*er) //conductivity at f2
+
+
+//Result
+printf("conductivity at f1 = %.1f >> 1\n",c1)
+printf("conductivity at f2 = %.1f x10^-4 >> 1",(c2*10**4))