summaryrefslogtreecommitdiff
path: root/1694/CH2/EX2.10/EX2_10.sce
blob: de5aa35565b71800896ce40ac8fbab9655289c0c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
clear;
clc;
printf("\nEx2.10\n");
//page no.-58
//given
h=6.60*10^-34;...................//planck's constant
m=1.67*10^-27;..................//mass of neutron i  kg
T=300;..........................//temperature in kelvin
k=1.376*10^-23;................//boltzmann constant in joule/degree
//As E=k*T, put in lambda=h/sqrt(2*m*E)

lambda=h/sqrt(2*m*k*T)..................//wavelength in angstrom

printf("\nwavelength is 1.777 angstrom\n");