MATHCAD Analytic Geometry
MATHCAD Analytic Geometry
MATHCAD Analytic Geometry
6
1. What is the slope of a line connecting P1 (-20,35) and P2 (18,-38)?
x ≔ -20 x1 ≔ 18 y ≔ 35 y1 ≔ -38
⎛⎝x - x1⎞⎠ 38
m = ――― → m = -―
⎛⎝y - y1⎞⎠ 73
-38
m = ――
73
2. A line has a slope of -5 and y-intercept of 4. What is the equation of the line?
m ≔ -5 b≔4
y = -((5 ⋅ x)) + 4
3 1
y = ―x + ―
4 4
y = mx + b
3
m=―
4
y = mx + b
b = y - intercept = 4
5. Two straight lines are drawn in a way that they will never meet even if extended indefinitely.
If the equation of one of these lines is y=5x-3, which of the following must be the equation of
the other line?
6. Find the line perpendicular to x+3y=0 that passes through the point (3,2)
6. Find the line perpendicular to x+3y=0 that passes through the point (3,2)
y = -((3 ⋅ x)) - 7
7. A straight line has an equation of 5x+4y+3=0. Determine its new equation if the origin is
translated to point (1,2)
5 ((x + 1)) + 4 ((y + 2)) + 3 = 0 → 0
5 x + 4 y + 16 = 0
8. Find the equation of a line with a slope 2/3 and which passes through point of
intersection of the lines 4x-2y+1=0 and x-2y+4=0
2 5
Constraints Guess Values
x≔1 m ≔ ― x1 ≔ 1 y1 ≔ ―
y≔1 3 2
4 x - 2 y + 1=0
4 ⋅ x + 11
x - 2 y + 4=0 y = ―――
6
⎡1 ⎤ 2 11
Solver
x1 ≔ 5 y1 ≔ -4 A≔6 B ≔ -5 C≔7
A ⋅ x1 + B ⋅ y1 + C
d ≔ ――――――
‾‾‾‾‾‾‾
A2 + B2
d = 7.298
10. The angle from L1, whose slope is -1/3, to line L2, is 135 degrees. Find the slope of L2.
10. The angle from L1, whose slope is -1/3, to line L2, is 135 degrees. Find the slope of L2.
1
θ ≔ 135 deg m1 ≔ -―
3
m2 - m1 solve , m2 , simplify 10
tan ((θ)) = ―――― ―――――― → -―――――― + 3 = -2
1 + ⎛⎝m1 ⋅ m2⎞⎠ tan ((135 ⋅ deg)) + 3
m2 = -2