Question No. 1 
Suppose a light ray traveling through the air intersects the surface of diamond at an angle of 50o degrees, Find at which angle this light ray will be refracted from the diamond’s surface?
Refractive Index of Diamond, n diamond = 2.4
Refractive Index of Air, n air = 1
formula (page 291 handouts)
(n air/n diamond)* sin (Φ air) = sin (Φ diamond)
Question No. 2 
Write down the code for drawing a triangle using OpenGL and glut library function in C. Your program should keep track of following things.
Three sides of triangle should have different colors.
Your name and VUID should be displayed on window title i.e. Name (bc123456789)
Window size should be (400,400)
DOWNLOAD SOLUTION HERE