Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

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, ). Label the axes and give the plot a title.

Change the line to a magenta dash-dotted line and limit both and y axes from - 10 to 10

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

The Database Experts Guide To Database 2

Authors: Bruce L. Larson

1st Edition

0070232679, 978-0070232679

More Books

Students also viewed these Databases questions

Question

LO1 Understand human resource management and define human capital.

Answered: 1 week ago