Problem 44070. Under the sea: Snell's law & total internal reflection
Solution Stats
Problem Comments
-
4 Comments
Show
1 older comment
Rahul Kalampattel
on 15 Feb 2017
The function only has a single (undefined) input in the test suite instead of n_in and n_out.
James
on 16 Feb 2017
Anyone else here a fan of The Little Mermaid?
Jihye Sofia Seo
on 16 Feb 2017
Thanks Rahul. Made changes to the test suite. Sorry !!
Rafael S.T. Vieira
on 29 Jun 2020
James, I've started humming the song after reading the title...
Problem Recent Solvers45
Suggested Problems
-
Given an unsigned integer x, find the largest y by rearranging the bits in x
1382 Solvers
-
What is the distance from point P(x,y) to the line Ax + By + C = 0?
340 Solvers
-
Create a vector whose elements depend on the previous element
547 Solvers
-
Square Digits Number Chain Terminal Value (Inspired by Project Euler Problem 92)
204 Solvers
-
3402 Solvers
More from this Author9
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!