For the following problem we want to find a linear equation that passes through the following two points: (-5,8), (7,-9). The general equation for a line is: y = mx + b a Create two symbolic variables, m and b. Looking at the general equation above, we can subtract y from both sides to get the following expression: 0 = mx + b-y. Now that our equation is in this format, we can create two equations, eqn1 and eqn2 using the two (x,y) coordinates given above. Use the solve function to solve the system of equations. Call these solutions sol m and sol b. Plot the solution of the line that passes through the two points (create the line using sol m and sol b and define a new symbolic variable, x). Label the axes and give the plot a title. Change the line to a magenta dash-dotted line and limit both x and y axes from - 10 to 10
For the following problem we want to find a linear equation that passes through the following two points: (-5,8), (7,-9). The general equation for a line is: y = mx + b a Create two symbolic variables, m and b. Looking at the general equation above, we can subtract y from both sides to get the following expression: 0 = mx + b-y. Now that our equation is in this format, we can create two equations, eqn1 and eqn2 using the two (x,y) coordinates given above. Use the solve function to solve the system of equations. Call these solutions sol m and sol b. Plot the solution of the line that passes through the two points (create the line using sol m and sol b and define a new symbolic variable, x). Label the axes and give the plot a title. Change the line to a magenta dash-dotted line and limit both x and y axes from - 10 to 10
Elementary Geometry For College Students, 7e
7th Edition
ISBN:9781337614085
Author:Alexander, Daniel C.; Koeberlein, Geralyn M.
Publisher:Alexander, Daniel C.; Koeberlein, Geralyn M.
ChapterP: Preliminary Concepts
SectionP.CT: Test
Problem 1CT
Related questions
Question
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 2 steps with 2 images
Recommended textbooks for you
Elementary Geometry For College Students, 7e
Geometry
ISBN:
9781337614085
Author:
Alexander, Daniel C.; Koeberlein, Geralyn M.
Publisher:
Cengage,
Elementary Geometry for College Students
Geometry
ISBN:
9781285195698
Author:
Daniel C. Alexander, Geralyn M. Koeberlein
Publisher:
Cengage Learning
Elementary Geometry For College Students, 7e
Geometry
ISBN:
9781337614085
Author:
Alexander, Daniel C.; Koeberlein, Geralyn M.
Publisher:
Cengage,
Elementary Geometry for College Students
Geometry
ISBN:
9781285195698
Author:
Daniel C. Alexander, Geralyn M. Koeberlein
Publisher:
Cengage Learning