From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 2333/CH1/EX1.27/27.sce | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100755 2333/CH1/EX1.27/27.sce (limited to '2333/CH1/EX1.27/27.sce') 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) -- cgit