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 /446/CH2/EX2.7/2_7.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 '446/CH2/EX2.7/2_7.sce')
-rwxr-xr-x | 446/CH2/EX2.7/2_7.sce | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/446/CH2/EX2.7/2_7.sce b/446/CH2/EX2.7/2_7.sce new file mode 100755 index 000000000..b197d1362 --- /dev/null +++ b/446/CH2/EX2.7/2_7.sce @@ -0,0 +1,6 @@ +clear
+clc
+disp('Exa-2.7');
+v1=0.6; u=0.8; c=1; // all the values are measured in terms of c hence c=1
+v= (v1+u)/(1+(v1*u/c^2));
+printf('The speed of missile as measured by an observer on earth is %.2f c.',v);
\ No newline at end of file |