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 /2333/CH1/EX1.27/27.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 '2333/CH1/EX1.27/27.sce')
-rwxr-xr-x | 2333/CH1/EX1.27/27.sce | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/2333/CH1/EX1.27/27.sce b/2333/CH1/EX1.27/27.sce new file mode 100755 index 000000000..eb4061944 --- /dev/null +++ b/2333/CH1/EX1.27/27.sce @@ -0,0 +1,11 @@ +clc +// Given that +m_0 = 1.6e-27 // mass of proton in kg +KE = 500 // kinetic energy of electron in MeV +c = 3e8 // speed of light in m/sec +// Sample Problem 27 on page no. 54 +printf("\n # PROBLEM 27 # \n") +printf(" Standard formula used \n") +printf("\n E = m*c^2 \n") +del_m = KE*1e6*1.6e-19/c^2 // change in mass of proton in kg +printf("\n Change in mass of proton is %e kg. ",del_m) |