summaryrefslogtreecommitdiff
path: root/3768/CH5/EX5.3/Ex5_3.sce
blob: 8a4b781ef104e3a39404e0f86b610485392c0584 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//Example number 5.3, Page number 85

clc;clear;
close;

//Variable declaration
me=9.1*10**-31;    //mass(kg)
h=6.62*10**-34;   //plank constant
mn=1.676*10**-27;    //mass(kg)
c=3*10**8;     //velocity of light(m/s)
//Calculation
lamda=h*10**10/sqrt(4*mn*me*c**2);     //de broglie wavelength(angstrom)  
//Result
printf("de broglie wavelength is %.1e Angstrom",lamda)