Question: Write a function named getxcept that inputs four numbers x 1 , y 1 , x 2 , y 2 representing two points on a

Write a function named getxcept that inputs four numbers x1,y1,x2,y2 representing two points on a (non-vertical) line, and then will return the x-intercept of that line.
The following shows an example of how the function should work in the command window.
getxcept (1,1,0,2)
ans =
 Write a function named getxcept that inputs four numbers x1,y1,x2,y2 representing

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!