# SUPERSTARWEBTECH

There is no elevator to success. You have to take the stairs. Take your first steps with SSWT!

# CS602-Computer Graphics Assignment no. 2 Solution FALL 2018 Due date: 31 January, 2019

Subject: CS602-Computer Graphics
Semester: FALL 2018
Assignment No. 2
Due date: 31 January, 2019

 CS602 ASSIGNMENT 2 SOLUTION FALL 2018

CS602-Computer Graphics Assignment 2 #Question

Question no. 1:
Incident Light ray is passing through glass, with refractive index of 1.1, on an interface separating glass and water with refractive index 1.25. What is the angle of refraction if the angle of incidence of the ray in glass is 35°?

Question no. 2:
Given are the points that lie on a plane P, P1<3.0,6.0,7.0>,
P2<4.0,3.0,5.0>,
P3<7.0,4.0,2.0>.
You are required to find the equation of a normal to the plane P.

Question no. 3:

In RGB model we are required to simulate the entire visible spectrum by three colors with a limited range. Suppose a light is coming from a particular source and is represented by following intensity.
Light color id = [0.43314, 0.32632, 0.62343]
Surface color is represented with the following rgb values.
Surface color Cs = [0.23435, 0.62527, 0.32333]
You are required to calculate the color combination of this surface from a given light by using piecewise multiplication of the color values.
id Cs =?

## Author

### Anam Afzal

Hi, I'm a Pakistani freelancer with a passion for helping businesses achieve their online goals through no-code solutions. I specialize in WordPress customization and ManyChat automation, and I'm always on the lookout for new ways to use technology to make businesses more efficient and successful. I'm also a big believer in the power of no-code tools to democratize technology and make it accessible to everyone. I'm passionate about sharing my knowledge and helping others learn how to use no-code tools to create their own websites, automate their workflows, and grow their businesses. If you're looking for a reliable and experienced no-code developer, I'm here to help. Please feel free to contact me to discuss your project requirements.
Blog

Blog

Blog