summaryrefslogtreecommitdiff
path: root/1271/CH20/EX20.4/example20_4.sce
diff options
context:
space:
mode:
Diffstat (limited to '1271/CH20/EX20.4/example20_4.sce')
-rwxr-xr-x1271/CH20/EX20.4/example20_4.sce9
1 files changed, 9 insertions, 0 deletions
diff --git a/1271/CH20/EX20.4/example20_4.sce b/1271/CH20/EX20.4/example20_4.sce
new file mode 100755
index 000000000..a6924f4ee
--- /dev/null
+++ b/1271/CH20/EX20.4/example20_4.sce
@@ -0,0 +1,9 @@
+clc
+// Given that
+V = 13.6e3 // voltage in V
+// Sample Problem 4 on page no. 20.8
+printf("\n # PROBLEM 4 # \n")
+printf("Standard formula used \n ")
+printf("1/2*m*v^2 = eV \n")
+v = 0.593e6*sqrt(V)
+printf("\n Maximum speed of electron is %e m/sec.",v)