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 /1172/CH6/EX6.13/Example6_13.sce | |
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 '1172/CH6/EX6.13/Example6_13.sce')
-rwxr-xr-x | 1172/CH6/EX6.13/Example6_13.sce | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/1172/CH6/EX6.13/Example6_13.sce b/1172/CH6/EX6.13/Example6_13.sce new file mode 100755 index 000000000..95679f1d7 --- /dev/null +++ b/1172/CH6/EX6.13/Example6_13.sce @@ -0,0 +1,12 @@ +clc
+//Given that
+c = 3e8 // speed of light in m/s
+u = 0.9*c // velocity of first particle with respect to other in m/s
+density1 = 19.3e-3 // density of gold in rest frame
+// sample problem 13 page No. 226
+printf("\n \n\n # Problem 13 # \n")
+printf("\n Standard formula used \n m = m_o/ sqrt ( 1- (v/c)^2) \n and \n l = l_o* sqrt ( 1- (v/c)^2) ")
+mass_ratio = sqrt (1 - (u/c)^2) // calculation of ratio of relativistic mass
+volume_ratio = 1 / sqrt (1 - (u/ c)^2) // calculation of ratio of relativistic volume
+density2 = density1 * (volume_ratio /mass_ratio ) //calculation of ratio of relativistic density
+printf ("\n Relativistic density of rod in moving frame is %e.",density2)
|