summaryrefslogtreecommitdiff
path: root/2300/CH1/EX1.7.1/Ex1_1.sce
blob: ea9f08f72e39851110a61dba943cb1dbab65807b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13

//scilab 5.4.1
//windows 7 operating system
//chapter 1:Basic Ideas:Energy Bands In Solids
clc
clear
//given
Ek=1.6*(10^-19)*100;//Ek=final kinetic energy of electron in Joules
m0=9.11*(10^-31);//m0=rest mass of the electron in kg
//solving final velocity of the electron
v=sqrt((2*Ek)/m0)//v=final velocity of the electron
disp("m/s",v,"v=")