diff options
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) |