summaryrefslogtreecommitdiff
path: root/1271/CH11/EX11.32
diff options
context:
space:
mode:
Diffstat (limited to '1271/CH11/EX11.32')
-rwxr-xr-x1271/CH11/EX11.32/32.txt1
-rwxr-xr-x1271/CH11/EX11.32/example11_32.sce9
2 files changed, 10 insertions, 0 deletions
diff --git a/1271/CH11/EX11.32/32.txt b/1271/CH11/EX11.32/32.txt
new file mode 100755
index 000000000..8852d3634
--- /dev/null
+++ b/1271/CH11/EX11.32/32.txt
@@ -0,0 +1 @@
+ Speed of rocket is 0.968246 c. \ No newline at end of file
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)