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 /1862/CH11/EX11.6/C11P6.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 '1862/CH11/EX11.6/C11P6.sce')
-rwxr-xr-x | 1862/CH11/EX11.6/C11P6.sce | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/1862/CH11/EX11.6/C11P6.sce b/1862/CH11/EX11.6/C11P6.sce new file mode 100755 index 000000000..7948007c4 --- /dev/null +++ b/1862/CH11/EX11.6/C11P6.sce @@ -0,0 +1,28 @@ +
+clear
+ clc
+//to find kinetic energy
+
+// GIVEN::
+
+//distance travelled by neutron
+d = 6.2//in meters
+//time for neutron travel
+t = 160//in micrometers
+//mass of neutron
+m = 1.67e-27//in kg
+
+// SOLUTION:
+
+//speed of neutron
+v = d/(t*10^-6)//in m/s
+//applying formula for kinetic energy
+//kinetic energy of neutron
+K = (1/2)*m*v^2//in J
+K1 = K*(6.242e18)//in eV
+K = nearfloat("succ",1.26e-18)
+K1 = nearfloat("succ",7.9)
+
+printf ("\n\n Speed of neutron v = \n\n %.2e m/s",v);
+printf ("\n\n Kinetic energy of neutron in J K = \n\n %.2e J",K);
+printf ("\n\n Kinetic energy of neutron in eV K = \n\n %.1f eV",K1);
|