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/)
Tip: In this problem, the first polarizer is always equated to 0.5 (since I_0 = 1 and the light comes from all directions): we should calculate the integral of the function cos(x)^2 from 0 to 2pi divided by 2pi (Mean Value Theorem). The remainder is Malus's Law.
This is actually a problem of physics, rather than programming.
the application of Malus‘s Law
Test for balanced parentheses
Calculate the Number of Sign Changes in a Row Vector (No Element Is Zero)
Convert a Cell Array into an Array
Is this a valid Tic Tac Toe State?
Cut an orange
Pancake sorting - minimum flips.
expand intervals vol.3
Find the treasures in MATLAB Central and discover how the community can help you!
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