summaryrefslogtreecommitdiff
path: root/1172/CH6/EX6.19/Example6_19.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1172/CH6/EX6.19/Example6_19.sce
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 '1172/CH6/EX6.19/Example6_19.sce')
-rwxr-xr-x1172/CH6/EX6.19/Example6_19.sce11
1 files changed, 11 insertions, 0 deletions
diff --git a/1172/CH6/EX6.19/Example6_19.sce b/1172/CH6/EX6.19/Example6_19.sce
new file mode 100755
index 000000000..10875e822
--- /dev/null
+++ b/1172/CH6/EX6.19/Example6_19.sce
@@ -0,0 +1,11 @@
+clc
+//Given that
+c = 3e8 // speed of light in m/s
+v = 0.99 * c // velocity of particle
+proper_time = 2.2e-6 // proper mean life time of mesons
+// sample problem 19 page No. 230
+printf("\n \n\n # Problem 19 # \n")
+printf("\n Standard formula used \n t = t_o /sqrt ( 1- (v/c)^2)")
+t = proper_time / sqrt (1 - (v / c)^2) // calculation of time period
+d = v *t// calculation of Distance travelled by particle
+printf ("\n Distance traveled by particle is %e m.",d )