Advanced C++ Programming Tutorial 1

From Chilipedia
Revision as of 13:02, 13 May 2018 by Chili (Talk | contribs) (Created page with "In this video, we learn to draw straight lines (not homophobic) between any 2 points. == Homework == For the homework, solve the following math problems: # Plot the line y=(6...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

In this video, we learn to draw straight lines (not homophobic) between any 2 points.

Homework

For the homework, solve the following math problems:

  1. Plot the line y=(6/9)x+3
  2. Determine whether the following points are on the line y=(6/9)x+3:
    1. (-2,1)
    2. (3,5)
  3. Find the point of intersection of the lines y=(6/9)x+3 and y=2x+7
  4. Determine whether these two line segments intersect and where: (0,7)--(4,15) and (-6,-1)--(6,7)
  5. Find the equation of the line that is perpendicular to y=(6/9)x+3 and intersects it at x=3
  6. Find the midpoint between (-5,-3) and (0,7)
  7. Find the perpendicular bisector line segment to make a "perfect X" with line segment (-5,-3)--(0,7) (here, perfect X means both line segments are same length)
  8. Find the closest point on the line y=(6/9)x+3 to the point (5,2)
  9. Find the distance between the point (5,2) and the line y=(6/9)x+3
  10. Determine w