diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /2891/CH2/EX2.25/Ex2_25.sce | |
download | Scilab-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.25/Ex2_25.sce')
-rwxr-xr-x | 2891/CH2/EX2.25/Ex2_25.sce | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/2891/CH2/EX2.25/Ex2_25.sce b/2891/CH2/EX2.25/Ex2_25.sce new file mode 100755 index 000000000..8ab56aae4 --- /dev/null +++ b/2891/CH2/EX2.25/Ex2_25.sce @@ -0,0 +1,39 @@ +// Exa 2.25
+clc;
+clear;
+close;
+// given :
+Em=20 // minimum signal level required for vessel under sea water in microV/m
+Em=20*10^-6 // minimum signal level required for vessel under sea water in V/m
+E=100 // electric intensity of wave in V/m
+v=3*10^8 // speed of light in m/s
+f=4 // frequency in MHz
+f=4*10^6 // frequency in Hz
+omega=2*%pi*f // angular frequency in Hz
+sigma=4 // conductivity of sea water in mho/m
+epsilon_r=81 // relative permittivity
+epsilon_0=8.854*10^-12 // permittivity in free space
+epsilon=epsilon_r*epsilon_0 // permittivity
+mu_r=1 // relative permeability
+mu_0=4*%pi*10^(-7) // permeability in free space
+mu=mu_r*mu_0 // permeability
+k=(sigma)/(omega*epsilon)//ratio
+disp("ratio k is equal to: ")
+disp(k,"ratio:")
+disp("K is >>1 so sea water is a good conductor")
+eta_1=377 // intrinsic impedance in free space in ohm
+alpha_1=0 // attenuation constant in free space in m^-1
+beta_1=omega/v // phase constant in m^-1
+mageta_2=sqrt(omega*mu/sigma) // magnitude of eta_2(intrinsic impedance of sea water in ohm)
+argeta_2=45 // argument of eta_2 in degrees
+eta_2=mageta_2*cosd(argeta_2)+%i*mageta_2*sind(argeta_2) //intrinsic impedance in complex form (r*cos(theta)+%i*r*sin(theta))
+TC=2*eta_2/(eta_1+eta_2) // transmission cofficient
+Et=abs(TC)*E // transmitted electric field in V/m
+alpha_2=sqrt(omega*mu*sigma/2) // attenuation constant for sea water in m^-1
+// formula: Et*exp(-alpha_2*d)=Es
+d=-(1/alpha_2)*log(Em/Et) // depth in the sea that can be reached by the aeroplane in m
+disp(d,"depth in the sea that can be reached by the aeroplane in m:")
+
+
+// note 1: the value of alpha_2 in book is 7.905 but it is "7.94" exactly calculated by scilab
+//note 2 : The correct answer of the Depth(d) is "1.41094" the answer in the book is wrong.
|