Question: Matlab, please dont use functions thanks 4. (10 pts) Write a program named LineInfo that will find the slope, x-intercept, and y-intercept of a line

Matlab, please dont use functions thanks Matlab, please dont use functions thanks 4. (10 pts) Write a program

4. (10 pts) Write a program named LineInfo that will find the slope, x-intercept, and y-intercept of a line given two points A and B on the line. Find the slope, x-intercept, and y-intercept for each of the following: hint use slope formula a) A(3,4), B(6,6) b) A(-2,5), B(4, -1) c) A(-3,-6), B(6, 12) Here is a sample run for: >> LineInfo Line A has slope 0.6667. Its y intercept is at 2, and its x intercept is as - 3 Line B

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!