summaryrefslogtreecommitdiff
path: root/1271/CH11/EX11.11/example11_11.sce
blob: ab99be38875c40f2b0042cefbe5269d233d2a3a8 (plain)
1
2
3
4
5
6
7
8
9
clc 
// Given that
r = 2.25 // ratio of mass of particle to the rest mass
// Sample Problem 11 on page no. 11.22
printf("\n # PROBLEM 11 # \n")
printf(" Standard formula used \n")
printf(" m = m_0/((1-v^2/c^2)^1/2) \n ")
v = 3e8 * sqrt(1 - (1 / r)^2)
printf("\n Speed of particle is %e meter/sec.",v)