summaryrefslogtreecommitdiff
path: root/446/CH7/EX7.4/7_4.sce
blob: a0ca80f4ce5ec620fb8601aa4ec0c824add05328 (plain)
1
2
3
4
5
6
7
8
clear 
clc
disp('Exa-7.4');
l=1;         //given value of l
am1=sqrt(l*(l+1));      //angular momentum==sqrt(l(l+1)) h
l=2                     //given l
am2=sqrt(l*(l+1));
printf('The angular momenta are found out to be %.3f h and %.3f h respectively for l=1 and l=2.',am1,am2);