
Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Material Type: Assignment; Class: Comp Prog W/Egr Application; Subject: Computer Science; University: University of Texas - San Antonio; Term: Spring 2009;
Typology: Assignments
1 / 1
This page cannot be seen from the preview
Don't miss anything!

Spring 2009 Instructor Dr. Turgay Korkmaz sample problem Background: General equation for a line is Ax + By + C = 0 (A, B, C are const). Suppose we have two different lines A1x + B1y + C1 = 0 and A2x + B2y + C2 = 0. To find the intersection point of these lines and the angle between them, we can use the following formulas: 2 2
0 A B
x (^) and 2 2
0 A B
y (^) and Note that (^22)
means Determinant and computed as A1B2 - A2B
== 0 holds, the lines are parallel.