diff options
Diffstat (limited to '1271/CH11/EX11.14/example11_14.sce')
-rwxr-xr-x | 1271/CH11/EX11.14/example11_14.sce | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/1271/CH11/EX11.14/example11_14.sce b/1271/CH11/EX11.14/example11_14.sce new file mode 100755 index 000000000..cae313967 --- /dev/null +++ b/1271/CH11/EX11.14/example11_14.sce @@ -0,0 +1,10 @@ +clc +// Given that +m = 1.67e-27 // mass of electron in kg +m_ = 9.1e-31 // rest mass of electron in kg +// Sample Problem 14 on page no. 11.23 +printf("\n # PROBLEM 14 # \n") +printf(" Standard formula used \n") +printf(" m = m_0/((1-v^2/c^2)^1/2) \n ") +v = 3e8 * sqrt(1 - (m_ / m)^2) +printf("\n Velocity of electron is %f meter/sec.",v) |