summaryrefslogtreecommitdiff
path: root/2780/CH1/EX1.13/Ex1_13.sce
diff options
context:
space:
mode:
Diffstat (limited to '2780/CH1/EX1.13/Ex1_13.sce')
-rwxr-xr-x2780/CH1/EX1.13/Ex1_13.sce8
1 files changed, 8 insertions, 0 deletions
diff --git a/2780/CH1/EX1.13/Ex1_13.sce b/2780/CH1/EX1.13/Ex1_13.sce
new file mode 100755
index 000000000..f6a1fc145
--- /dev/null
+++ b/2780/CH1/EX1.13/Ex1_13.sce
@@ -0,0 +1,8 @@
+clc
+//to calculate velocity
+c=3*10^8 // light velocity
+v=0.75*c //speed of A
+ux=-0.85*c //speed of B
+ux1=(ux-v)/(1-ux*v/c^2)
+disp(ux1,'velocity of B with respect to A (m/s) is :')
+//answer is given in terms of c in the book=-0.9771c