summaryrefslogtreecommitdiff
path: root/3622/CH9/EX9.1/Ex9_1.sce
blob: 5194ae2fdccb9354fa2ff570cef87942298e00bf (plain)
1
2
3
4
5
6
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)