summaryrefslogtreecommitdiff
path: root/1271/CH11/EX11.28
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1271/CH11/EX11.28
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 '1271/CH11/EX11.28')
-rwxr-xr-x1271/CH11/EX11.28/28.txt1
-rwxr-xr-x1271/CH11/EX11.28/example11_28.sce9
2 files changed, 10 insertions, 0 deletions
diff --git a/1271/CH11/EX11.28/28.txt b/1271/CH11/EX11.28/28.txt
new file mode 100755
index 000000000..5ea596ad5
--- /dev/null
+++ b/1271/CH11/EX11.28/28.txt
@@ -0,0 +1 @@
+ Speed of the rod relative to observer is 0.866025 c. \ No newline at end of file
diff --git a/1271/CH11/EX11.28/example11_28.sce b/1271/CH11/EX11.28/example11_28.sce
new file mode 100755
index 000000000..fbe9f6168
--- /dev/null
+++ b/1271/CH11/EX11.28/example11_28.sce
@@ -0,0 +1,9 @@
+clc
+// Given that
+r = 0.5 // ratio of length of rod when it is in motion to the length of the rod when it is in rest
+// Sample Problem 28 on page no. 11.29
+printf("\n # PROBLEM 28 # \n")
+printf(" Standard formula used \n")
+printf(" l = l_0/((1-v^2/c^2)^1/2) \n")
+v = 3e8 * sqrt(1 - r^2)
+printf("\n Speed of the rod relative to observer is %f c.",v/3e8)