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