(SEE ATTACHED PROJECT) Ok, I have some light (the blue line on the right) coming through a substance, hitting another substance, and refracted at a certain angle (the blue line on the left). You enter the density of the second material in the text box, and choose the angle the light is hitting the second material (with the scroll-bar). Now the blue line on the left is suppose to move with the blue line on the right. Which is working... but not the right way! Proof: if you put the second material's density to 1, the light should NOT be refracted, but if you look at the blue line, when you come to an angle of 60 or so, it does start being refracted! And at an angle of like 65 the app gives me an error. PLEASE help me find what the problem is, I am getting desperate, this school project is for tomorrow.
Thx in advance
"A RESPECTED scientist has put forward the stunning - if unsavoury - possibility that humans are descended from sewage dumped overboard by aliens."
"First we read that we are the creation of God, then scientists say we are descended from apes. Now they say we're some sort of alien poo. How much further can we sink?"
- Robert Matthews, Science Correspondent
I don't mean to burst your bubble by you thinking i just posted an answer. But maybe you might post in the maths forum? They may be able to help you with the physics a little bit better. If i wasn't at work right now i would take a look at it for you though.
C++/VB6&.NET/QBasic/HTML/PHP/MySQL/SQLServer2k
I'm the guy your little brother looks a lot alike. Tell your mom i said thanks.
"A RESPECTED scientist has put forward the stunning - if unsavoury - possibility that humans are descended from sewage dumped overboard by aliens."
"First we read that we are the creation of God, then scientists say we are descended from apes. Now they say we're some sort of alien poo. How much further can we sink?"
- Robert Matthews, Science Correspondent
well the one you want to be... if you put the density to 0.1 then it is less dense, if you put more than 1, than it is more dense (in the text box tht is)
"A RESPECTED scientist has put forward the stunning - if unsavoury - possibility that humans are descended from sewage dumped overboard by aliens."
"First we read that we are the creation of God, then scientists say we are descended from apes. Now they say we're some sort of alien poo. How much further can we sink?"
- Robert Matthews, Science Correspondent