summaryrefslogtreecommitdiff
path: root/2891/CH2/EX2.18
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2891/CH2/EX2.18
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '2891/CH2/EX2.18')
-rwxr-xr-x2891/CH2/EX2.18/Ex2_18.sce20
1 files changed, 20 insertions, 0 deletions
diff --git a/2891/CH2/EX2.18/Ex2_18.sce b/2891/CH2/EX2.18/Ex2_18.sce
new file mode 100755
index 000000000..1ed9c8274
--- /dev/null
+++ b/2891/CH2/EX2.18/Ex2_18.sce
@@ -0,0 +1,20 @@
+//Exa 2.18
+clc;
+clear;
+close;
+// given :
+lambda=0.25 // wavelength in m
+v=1.5*10^10 // velocity of propagation of wave in cm/sec
+v=1.5*10^8 // velocity of propagation of wave in m/sec
+f=v/lambda // frequency in Hz
+disp(f/10^6,"frequecy in MHz:")
+epsilon_0=8.854*10^-12 // permittivity in free space in F/m
+mu_0=4*%pi*10^-7 // permeability in free space in H/m
+mu=mu_0 // permeability in H/m
+v_0=3*10^8 // speed of light in m/s
+// formula : v=1/(mu*epsilon)=1/(mu_0*epsilon_0*epsilon_r)=v_0/sqrt(epsilon_r)
+epsilon_r=(v_0/v)^2 // relative permittivity
+disp(epsilon_r,"relative permittivity:")
+
+
+//note : answer in the book is wrong.