diff options
Diffstat (limited to '1172/CH6/EX6.26/Example6_26.sce')
-rwxr-xr-x | 1172/CH6/EX6.26/Example6_26.sce | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/1172/CH6/EX6.26/Example6_26.sce b/1172/CH6/EX6.26/Example6_26.sce new file mode 100755 index 000000000..38361cb2e --- /dev/null +++ b/1172/CH6/EX6.26/Example6_26.sce @@ -0,0 +1,10 @@ +clc
+//Given that
+c = 3e8 // speed of light in m/s
+t = 8e-6 // mean life of meson
+l = 10 // distance of meson from earth surface
+// sample problem 26 page No. 228
+printf("\n \n\n # Problem 26 # \n")
+printf("\n Standard formula used \n l = l_o* sqrt ( 1- (v/c)^2)")
+v = l*1e3/ sqrt( t^2 +(l * 1e3 /c)^2) // calculation of relative speed of meson with respect to
+printf ("\n Relative speed of meson with respect to earth is %f c .",v/c )
|