{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

EM350hw1

# EM350hw1 - Â= 5900 steel ang_out=ang_out*pi/180...

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

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

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

View Full Document
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

{[ snackBarMessage ]}

### Page1 / 2

EM350hw1 - Â= 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
Ask a homework question - tutors are online