CS602 Assignment # 2 Solution & Discussion Fall 2011 last date is 11-11-2011 - Virtual University of Pakistan 2020-04-02T14:05:43Z https://vustudents.ning.com/forum/topics/cs602-assignment-2-solution-discussion-fall-2011-last-date-is-11?groupUrl=cs602computergraphics&feed=yes&xn_auth=no This is idea solution so do y… tag:vustudents.ning.com,2011-11-12:3783342:Comment:945717 2011-11-12T11:52:40.652Z Suleman Ashraf Gilani https://vustudents.ning.com/profile/SyedSulemanAshrafGilani <p>This is idea solution so do your own....</p> <p> </p> <p>Question                                      20 marks</p> <p>We have two vectors V1 = (1, 2, 3) and V2 = (4, 5, 6).</p> <p>Using these vectors evaluate the following.</p> <p>V1norm =?                                  6 marks</p> <p>Solution:</p> <p>V1 = &lt;1, 2,3&gt;</p> <p>||v1|| = sqrt[(1* 1) + (2 * 2) + (3* 3)] = sqrt (1 + 4 + 9) = 3.74 approx</p> <p>A unit vector is a vector with a length of 1. Normalizing a vector converts a…</p> <p>This is idea solution so do your own....</p> <p> </p> <p>Question                                      20 marks</p> <p>We have two vectors V1 = (1, 2, 3) and V2 = (4, 5, 6).</p> <p>Using these vectors evaluate the following.</p> <p>V1norm =?                                  6 marks</p> <p>Solution:</p> <p>V1 = &lt;1, 2,3&gt;</p> <p>||v1|| = sqrt[(1* 1) + (2 * 2) + (3* 3)] = sqrt (1 + 4 + 9) = 3.74 approx</p> <p>A unit vector is a vector with a length of 1. Normalizing a vector converts a vector to a unit vector. To normalize a</p> <p>vector, divide each component by its length. Let’s normalize the vector from the previous example.</p> <p>u = &lt; 1/3.74, 2/3.74, 3/3.74&gt; = &lt;.267, .534, .802&gt;</p> <p>V1 + V2 =?                                 2 mark</p> <p>Solution:</p> <p>v1 + v2 = &lt;1 + 4, 2 + 5, 3 + 6&gt; = &lt;5, 7, 9&gt;</p> <p>V1.V2 =?                                    4 marks</p> <p>Solution:</p> <p>v1 . v2 = (1 * 4) + (2 * 5) + (3 * 6)</p> <p>             =(4+10+18)</p> <p>             =32</p> <p>V1 X V2 =?                                  8 marks</p> <p>Solution:</p> <p>v1 = &lt;1, 2, 3&gt;  v2 = &lt;4, 5, 6&gt;</p> <p>x3 = (2 * 6) – (3 * 5) = 18 – 15 = 3</p> <p>y3 = (3 * 4) – (1 * 6) = 12 – 6 =6</p> <p>z3 = (1 * 5) – (2* 4) = 5 – 8 = -3</p> <p>v1 X v2 = &lt;3, 6, -3&gt;</p> <p> </p> thnx   tag:vustudents.ning.com,2011-11-12:3783342:Comment:945539 2011-11-12T04:07:50.968Z 05cha530rul7d https://vustudents.ning.com/xn/detail/u_05cha530rul7d <p>thnx</p> <p> </p> <p>thnx</p> <p> </p> aoa...also check pg#111 for t… tag:vustudents.ning.com,2011-11-11:3783342:Comment:943834 2011-11-11T20:38:07.563Z sehrish khalid https://vustudents.ning.com/profile/sehrishkhalid422 <p>aoa...also check pg#111 for the last question...regards</p> <p> </p> <p>aoa...also check pg#111 for the last question...regards</p> <p> </p> check out the page no 109 and… tag:vustudents.ning.com,2011-11-11:3783342:Comment:942760 2011-11-11T07:03:58.809Z Sajidsd https://vustudents.ning.com/profile/Sajidsd <p>check out the page no 109 and 110 of hand outs in pdf version</p> <p>check out the page no 109 and 110 of hand outs in pdf version</p> ANy ideas or solution cz toda… tag:vustudents.ning.com,2011-11-11:3783342:Comment:942539 2011-11-11T06:31:41.550Z 05cha530rul7d https://vustudents.ning.com/xn/detail/u_05cha530rul7d <p>ANy ideas or solution cz today last date.</p> <p>ANy ideas or solution cz today last date.</p> today is last date anyone sol… tag:vustudents.ning.com,2011-11-11:3783342:Comment:942325 2011-11-11T06:31:09.121Z 05cha530rul7d https://vustudents.ning.com/xn/detail/u_05cha530rul7d <p>today is last date anyone solved it or any ideas....</p> <p> </p> <p>today is last date anyone solved it or any ideas....</p> <p> </p> Please Discuss... tag:vustudents.ning.com,2011-11-02:3783342:Comment:925530 2011-11-02T07:46:33.853Z Sajidsd https://vustudents.ning.com/profile/Sajidsd <p>Please Discuss...</p> <p>Please Discuss...</p>