summaryrefslogtreecommitdiff
path: root/1172/CH6/EX6.14.2/Example6_14b.sce
blob: 20241230c3c4befc6b703772f119b1bb2d614b20 (plain)
1
2
3
4
5
6
7
8
9
10
11
clc
//Given that 
c = 3e8 // speed of light in m/s
ratio = 1.95e+03 // Ratio of relativistic mass and rest mass
// sample problem 14b page No. 227
printf("\n \n\n # Problem 14b # \n")
printf("\n Standard formula used \n m = m_o/ sqrt ( 1- (v/c)^2)")
ratio_1 = 1 /(2* ratio^2)    // calculation of ratio of velocity to velocity of light for	
printf ("\n Ratio of velocity to velocity of light for particle is 1 -  %e .", ratio_1 )