diff options
Diffstat (limited to '3411/CH7/EX7.2.u1/Ex7_2_u1.sce')
-rw-r--r-- | 3411/CH7/EX7.2.u1/Ex7_2_u1.sce | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/3411/CH7/EX7.2.u1/Ex7_2_u1.sce b/3411/CH7/EX7.2.u1/Ex7_2_u1.sce index fdd33448f..310e4396b 100644 --- a/3411/CH7/EX7.2.u1/Ex7_2_u1.sce +++ b/3411/CH7/EX7.2.u1/Ex7_2_u1.sce @@ -2,12 +2,13 @@ clc();
clear;
//To find the fraction of initial intensity
-alpha=-2.2
-l=2 //units in KM
-//Case (a) when L=2
+alpha=-2.2 //units in db/Kilo meters
+//When l=2 Kilo meters
+l=2 //units in Kilo meters
+//Case (a) when L=2 Kilo meters
It_I0=10^(alpha*l/10)
printf("The fraction of initial intensity left when L=2 It/I0=%.3f\n",It_I0)
-//Case (b) when L=6
-l=6 //units in KM
+//Case (b) when L=6 Kilo meters
+l=6 //units in Kilo meters
It_I0=10^(alpha*l/10)
printf("The fraction of initial intensity left when L=6 It/I0=%.3f\n",It_I0)
|