Problem 44070. Under the sea: Snell's law & total internal reflection
41.09% Correct | 58.91% Incorrect
Last Solution submitted on Mar 24, 2023
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
Given an unsigned integer x, find the largest y by rearranging the bits in x
What is the distance from point P(x,y) to the line Ax + By + C = 0?
Create a vector whose elements depend on the previous element
Square Digits Number Chain Terminal Value (Inspired by Project Euler Problem 92)
More from this Author9
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!