![]() |
||||||
|
| Script S2_2_17.m | |||
|
|||
|
%==============================================
%Two lenses and a prism %============================================== % %============================================== %============================================== %CORRIGENDA %to "f1" and "a" the value 8 cm %must be given at pag. 95. In fact in the %previous page we have a = 8 cm %============================================== %============================================== % %the vertex angle alfa of the prism alfag=60; alfar=alfag*pi/180; %the refractive index of the prism n=1.5; %first a greater interval is used deltag=1:1:90 %the a better one is used deltag=35:0.1:40 %in radians deltar=deltag*pi/180; %the firt term m1 of the formula m1=n*sin(alfar/2) %and the second m2 arg=((deltar+alfar)/2); m2=sin(arg) %plot of m1(red) and m2(blue) function of deltag plot(deltag,m1,'ro-',deltag,m2,'bd-'),grid on title('m1(red) and m2(blue) function of deltag') %============================================== % %the focal length of the optical system %focal length of the first lens f1=8; %focal length of the second lens f2=7; %corresponding powers p1=1/f1 p2=1/f2 %distance between the lenses d=12.31; dim=d*p1*p2 %the power of the system p=p1+p2-dim %and its focal length f=1/p %============================================== % |
|||
| Top | |||