summaryrefslogtreecommitdiff
path: root/1694/CH2/EX2.23/EX2_23.sce
blob: 8310182cca021d37bd7162a23ec3fab842d20c4d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
clear;
clc;
printf("\nEx2.23\n");
//page no.-69
//given
h=6.62*10^-34;..............//planck's constant in joule-sec
m=1.67*10^-27;..............//mass of proton
c=3*10^8;..................//speed of light in m/s
E=46.08*10^-19;...........//energy in joule

lambda=h/sqrt(2*m*E).........//wavelength in m

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