summaryrefslogtreecommitdiff
path: root/1271/CH11/EX11.14
diff options
context:
space:
mode:
Diffstat (limited to '1271/CH11/EX11.14')
-rwxr-xr-x1271/CH11/EX11.14/14.txt1
-rwxr-xr-x1271/CH11/EX11.14/example11_14.sce10
2 files changed, 11 insertions, 0 deletions
diff --git a/1271/CH11/EX11.14/14.txt b/1271/CH11/EX11.14/14.txt
new file mode 100755
index 000000000..96b33635c
--- /dev/null
+++ b/1271/CH11/EX11.14/14.txt
@@ -0,0 +1 @@
+Velocity of electron is 299999955.460931 meter/sec. \ No newline at end of file
diff --git a/1271/CH11/EX11.14/example11_14.sce b/1271/CH11/EX11.14/example11_14.sce
new file mode 100755
index 000000000..cae313967
--- /dev/null
+++ b/1271/CH11/EX11.14/example11_14.sce
@@ -0,0 +1,10 @@
+clc
+// Given that
+m = 1.67e-27 // mass of electron in kg
+m_ = 9.1e-31 // rest mass of electron in kg
+// Sample Problem 14 on page no. 11.23
+printf("\n # PROBLEM 14 # \n")
+printf(" Standard formula used \n")
+printf(" m = m_0/((1-v^2/c^2)^1/2) \n ")
+v = 3e8 * sqrt(1 - (m_ / m)^2)
+printf("\n Velocity of electron is %f meter/sec.",v)