summaryrefslogtreecommitdiff
path: root/1535/CH8/EX8.14/Ch08Ex14.sci
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1535/CH8/EX8.14/Ch08Ex14.sci
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '1535/CH8/EX8.14/Ch08Ex14.sci')
-rwxr-xr-x1535/CH8/EX8.14/Ch08Ex14.sci9
1 files changed, 9 insertions, 0 deletions
diff --git a/1535/CH8/EX8.14/Ch08Ex14.sci b/1535/CH8/EX8.14/Ch08Ex14.sci
new file mode 100755
index 000000000..62ac60f32
--- /dev/null
+++ b/1535/CH8/EX8.14/Ch08Ex14.sci
@@ -0,0 +1,9 @@
+// Scilab Code Ex8.14: Page-176 (2010)
+c = 3e+008; // Speed of light in vacuum, m/s
+m = 50000; // Mass of high speed probe, kg
+u = 0.8*c; // Speed of the probe, m/s
+p = m*u/sqrt(1-(u/c)^2); // Momentum of the probe, kg-m/s
+printf("\nThe momentum of the high speed probe = %1g kg-m/s", p);
+
+// Result
+// The momentum of the high speed probe = 2e+013 kg-m/s \ No newline at end of file