summaryrefslogtreecommitdiff
path: root/1511/CH1/EX1.8/ex1_8.sce
blob: 1de385205ccee90fa00eefe7fac46585a3b76d75 (plain)
1
2
3
4
5
6
7
8
9
// Example 1.8 page no-21
clear
clc

V=1000   //volt
e=1.6*10^-19 //C
m=9.1*10^-31//kg
Vf=sqrt((2*e*V)/m)
printf("V_final=%.2f*10^6 m/sec",Vf/10^6)