summaryrefslogtreecommitdiff
path: root/3622/CH9/EX9.1/Ex9_1.sce
diff options
context:
space:
mode:
Diffstat (limited to '3622/CH9/EX9.1/Ex9_1.sce')
-rw-r--r--3622/CH9/EX9.1/Ex9_1.sce7
1 files changed, 7 insertions, 0 deletions
diff --git a/3622/CH9/EX9.1/Ex9_1.sce b/3622/CH9/EX9.1/Ex9_1.sce
new file mode 100644
index 000000000..5194ae2fd
--- /dev/null
+++ b/3622/CH9/EX9.1/Ex9_1.sce
@@ -0,0 +1,7 @@
+//Initialisation of variables
+clc
+V=20e3//volts
+m=9e-31//mass of electron
+e=1.6e-19//charge of electron
+v=sqrt(2*V*e/m)
+printf('maximum speed of electron is %e metre per second \n',v)