Diese Datei stammt aus Wikimedia Commons und kann von anderen Projekten verwendet werden. Die Beschreibung von deren Dateibeschreibungsseite wird unten angezeigt.
Ich, der Urheberrechtsinhaber dieses Werkes, veröffentliche es als gemeinfrei. Dies gilt weltweit. In manchen Staaten könnte dies rechtlich nicht möglich sein. Sofern dies der Fall ist: Ich gewähre jedem das bedingungslose Recht, dieses Werk für jedweden Zweck zu nutzen, es sei denn, Bedingungen sind gesetzlich erforderlich.
Andere Versionen
File:Snells law wavefronts.svg ist eine vektorisierte Version dieses Bildes. Diese sollte an Stelle des Rasterbildes verwendet werden, sofern sie nicht schlechter ist.
% Illustration of Snell's lawfunctionmain()% indexes of refractionn1=1.0;n2=1.5;sign=-1;% is the source up or down?O=[0,-1*sign];k=500;% KSmrq's colorsred=[0.8670.060.14];blue=[0,129,205]/256;green=[0,200,70]/256;yellow=[254,194,0]/256;white=0.99*[1,1,1];black=[0,0,0];gray=0.5*white;color1=red;color2=blue;color3=gray;lw=3;plot_line=0;Theta=linspace(0,2*pi,k);V=0*Theta;W=0*Theta;S0=7;spacing=0.45;p=floor(S0/spacing);S=linspace(0,S0,p+1);spacing=S(2)-S(1);num_frames=10;forframe_iter=1:num_framesfigure(1);clf;holdon;axisequal;axisoff;% plot the interface between diellectricsL=1.2*S0;plot([-L,L],[0,0],'color',color3,'linewidth',lw);% plot a rayplot_line=1;s=L;theta=pi/3;wfr(s,theta,n1,n2,O,sign,plot_line,color1,lw);% plot the wafefrontsplot_line=0;fori=1:ps=S(i)+spacing*(frame_iter-1)/num_frames;forj=1:ktheta=Theta(j);[V(j),W(j)]=wfr(s,theta,n1,n2,O,sign,plot_line,color1,lw);endplot(V,W,'color',color2,'linewidth',lw);end% dummy points to enlarge the bounding boxplot(0,S0+2.5*spacing,'*','color',white);plot(0,-(S0+2.5*spacing)/n2,'*','color',white);% to know where to crop laterLx=3.2;Ly=Lx;shift=1;plot([-Lx,Lx,Lx,-Lx-Lx],...[-Ly,-Ly,Ly,Ly,-Ly]+shift);file=sprintf('Frame%d.eps',1000+frame_iter);disp(file);saveas(gcf,file,'psc2')endend% Converted to gif with the UNIX command% convert -density 100 -antialias Frame10* Snell_animation.gif % then cropped in Gimpfunction[a, b]=wfr(s, theta, n1, n2, O, sign, plot_line, color1, lw);X=O+s*[sin(theta),sign*cos(theta)];if(sign*X(2)>0)t=-sign*O(2)/cos(theta);X0=O+t*[sin(theta),sign*cos(theta)];if(plot_line==1)plot([O(1),X0(1)],[O(2),X0(2)],'color',color1,'linewidth',lw,'linestyle','--');endd=norm(O-X0);r=(s-d)*(n2/n1)^(sign);theta2=asin(n1*sin(theta)/n2);XE=X0+r*[sin(theta2),sign*cos(theta2)];elseXE=X;enda=XE(1);b=XE(2);if(plot_line==1)plot([X0(1),XE(1)],[X0(2),XE(2)],'color',color1,'linewidth',lw,'linestyle','--');endend
Kurzbeschreibungen
Ergänze eine einzeilige Erklärung, was diese Datei darstellt.
Wavefronts from a point source of light.In a particuler wavefront u will see that the dist btw source & wavefront above the line is > dist btw source & wavefront below the line beacuse lightspeed is greater in the above and lower in below.