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 /1271/CH11/EX11.32/example11_32.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 '1271/CH11/EX11.32/example11_32.sce')
-rwxr-xr-x | 1271/CH11/EX11.32/example11_32.sce | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/1271/CH11/EX11.32/example11_32.sce b/1271/CH11/EX11.32/example11_32.sce new file mode 100755 index 000000000..12a38e259 --- /dev/null +++ b/1271/CH11/EX11.32/example11_32.sce @@ -0,0 +1,9 @@ +clc +// Given that +T = 4 // no. of year when rocket is moving corresponding to one year +// Sample Problem 32 on page no. 11.30 +printf("\n # PROBLEM 32 # \n") +printf(" Standard formula used \n") +printf(" t = t_0/((1-v^2/c^2)^1/2) \n") +v = 3e8 * sqrt(1 - (1 / T)^2) +printf("\n Speed of rocket is %f c.",v/3e8) |