EM350hw1 - %c2= 5900; %%% steel ang_out=ang_out*pi/180;

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
Ryan Finke M.1 Matlab code is provided below. Refracted angles of 0, 45, 70, and 90 degrees have the following incident angles Refracted Incident (degrees) 0 0 45 10.2170 70 13.6340 90 14.5277 If the incident angle is 15 degrees the wave will reflect off the steel surface instead of refracting because the incident angle is to shallow for refraction between these two mediums. function [ang_in]=snells_law(ang_out,c1,c2); %c1=1480; %%% water
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Background image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: %c2= 5900; %%% steel ang_out=ang_out*pi/180; ang_in=asin(c1*(sin(ang_out)/c2)); ang_in=ang_in*180/pi; M.2 5 10 15 10 20 30 40 50 60 70 80 incident angle refracted angle Incident angle vs. Refracted angle %rangeplot ang_out=[0:.375:75]; ang_in=snells_law(ang_out,c1,c2); plot(ang_in,ang_out); xlabel( 'incident angle' ); ylabel( 'refracted angle' ); title( 'Incident angle vs. Refracted angle' );...
View Full Document

This note was uploaded on 03/31/2008 for the course EM 350 taught by Professor Schnuerr during the Spring '08 term at Iowa State.

Page1 / 2

EM350hw1 - %c2= 5900; %%% steel ang_out=ang_out*pi/180;

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online