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 /623/CH1/EX1.1.12 | |
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 '623/CH1/EX1.1.12')
-rwxr-xr-x | 623/CH1/EX1.1.12/U1_C1_12.sce | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/623/CH1/EX1.1.12/U1_C1_12.sce b/623/CH1/EX1.1.12/U1_C1_12.sce new file mode 100755 index 000000000..d7b2ad5e3 --- /dev/null +++ b/623/CH1/EX1.1.12/U1_C1_12.sce @@ -0,0 +1,12 @@ +//variable initialization
+deltaTow=1*10^(-6); //mean proper lifetime of particle (second)
+Beta=0.9 //value of Beta
+v=2.7*10^8; //velocity of particle (meter/second)
+
+//part(i):lifetime of the particle in the laboratory frame
+deltaT=deltaTow/((1-Beta^2)^(1/2)); //lifetime of the particle in the laboratory frame (second)
+
+//part(ii):distance traversed by the particle in the laboratory frame
+d=v*deltaT; //distance traversed by the particle in the laboratory before disintegration (meter)
+
+printf("\nIn laboratory frame:\n\t lifetime of the particle = %.2e second\n\t distance traversed by the particle = %.1e meter",deltaT,d);
|