You have n polarising filters stacked one on top of another, and you know each axis angle. How much light gets passed through the filter bank? For more information, see Polarizer (Wikipedia).
>> n = [0, 90];
>> polarised([0, 90])
ans = 0
two filters with orthoganol orientation 0 & 90 degrees block all light. The last solution tests x = 5 + (1:5)*22.5; which is a filter set with two orthogonal filters. How come not all light is blocked for that case?
@margreet: that is a good question, indeed. The following minutePhysics video talks about that: "Bell's Theorem: The Quantum Venn Diagram Paradox" https://www.youtube.com/watch?v=zcqZHYo7ONs
Thank you @Alfonso for the link it really helped me understand a bit more on the topic of stacked filters.
Could some one help point me in the direction to understand the last 2 test cases?
I currently have a solution that is correct for all the test cases except the last 2. Is there something special for these cases that would be causing me to be not quite converge. I am currently not meeting the tolerance, the difference of my result and the assertion test are:
Thanks in advance.
[0,45,90] is also a nice test (instead of twice the randi solution)
@Nabor: also have a look at the law of Malus (http://hyperphysics.phy-astr.gsu.edu/hbase/phyopt/polcross.html), mind the difference between amplitude and intensity.
besides law of Malus (http://hyperphysics.phy-astr.gsu.edu/hbase/phyopt/polcross.html), also have a look at what happens to a third polarizing filter (http://alienryderflex.com/polarizer/)
Is my wife right? Now with even more wrong husband
Project Euler: Problem 4, Palindromic numbers
Swap the input arguments
Side of a rhombus
expand intervals vol.3
Optimum Egyptian Fractions
How many solutions has this problem?
Best Problem Elections
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office