diff options
Diffstat (limited to '3875/CH9/EX9.2/Ex9_2.sce')
-rw-r--r-- | 3875/CH9/EX9.2/Ex9_2.sce | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/3875/CH9/EX9.2/Ex9_2.sce b/3875/CH9/EX9.2/Ex9_2.sce index 68d3e7d4d..1a9d85d31 100644 --- a/3875/CH9/EX9.2/Ex9_2.sce +++ b/3875/CH9/EX9.2/Ex9_2.sce @@ -5,10 +5,11 @@ L1=2 //distance in km L2=6 //distance in km
//calculation
-//Case(a):when distance is 2km
-It_by_I0=10^-((alpha*L1)/10)
-mprintf("\nThe fraction of intial intensity that will remain after 2km is = %1.3f\n",It_by_I0)
+//Case(a):when distance L = 2km
+It_by_I0_1=10^-((alpha*L1)/10)
-//Case(b):when distance is 6km
-It_by_I0=10^-((alpha*L2)/10)
-mprintf("\nThe fraction of intial intensity that will remain after 2km is = %1.3f",It_by_I0) //The answer varies due to round off error.
+//Case(b):when distance L = 6km
+It_by_I0_2=10^-((alpha*L2)/10)
+
+mprintf("\nThe fraction of intial intensity that will remain after 2km is = %1.3f\n",It_by_I0_1) //The answer varies due to round off error.
+mprintf("\nThe fraction of intial intensity that will remain after 6km is = %1.3f",It_by_I0_2) //The answer varies due to round off error.
|