From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001
From: priyanka
Date: Wed, 24 Jun 2015 15:03:17 +0530
Subject: initial commit / add all books

---
 1271/CH11/EX11.17/example11_17.sce | 11 +++++++++++
 1 file changed, 11 insertions(+)
 create mode 100755 1271/CH11/EX11.17/example11_17.sce

(limited to '1271/CH11/EX11.17/example11_17.sce')

diff --git a/1271/CH11/EX11.17/example11_17.sce b/1271/CH11/EX11.17/example11_17.sce
new file mode 100755
index 000000000..a3322c81b
--- /dev/null
+++ b/1271/CH11/EX11.17/example11_17.sce
@@ -0,0 +1,11 @@
+clc 
+// Given that
+r1 = 3 // ratio of kinetic energy of body to its rest mass in first case
+r2 = 1 // ratio of kinetic energy of body to its rest mass in second case
+// Sample Problem 17 on page no. 11.24
+printf("\n # PROBLEM 17 # \n")
+printf(" Standard formula used \n")
+printf(" m = m_0/((1-v^2/c^2)^1/2) \n KE = (m-m_0)*c^2 \n")
+v1 = 3e8 * sqrt(1 - (1 / (r1 + 1))^2)
+v2 = 3e8 * sqrt(1 - (1 / (r2 + 1))^2)
+printf("\n Velocity of particle if kinetic energy is %d times of rest mass energy  is %e meter/sec.\n Velocity of particle if kinetic energy is %d times of rest mass energy  is %e meter/sec.\n",r1,v1,r2,v2)
-- 
cgit