How to Find the Intersection Between a Curve and Straight Line in Excel?
When two lines or curves having two different equations intersect with each other at one common point is known as Intersection. We can represent the point of intersection in Excel and also we can find the point of intersection using Excel functions SLOPE and INTERCEPT.
Behind the intersection of a curve and a straight line two mathematical reasons are present:
- The value of y1 is always lesser than the value of y2 at a given x before the intersection of lines.
- The value of y1 is always lesser than the value of y2 at the next value of x (xi+1) before the intersection of lines.
Follow the further steps to find the intersection between a curve of equation y2=x^2+2 and a straight line of equation y1=2x+4.
Step 1: Find the values of y1 and y2 for different x values.
Step 2: Calculate the difference between y1 and y2.
Step 3: We have to calculate the point of intersection using
where the value will be 1 the point of intersection will be that.
G13 has to consider zero because the next cell is empty.
Step 4: The value of x between which two lines have crossed can be calculated by
Step 5: X’s and Y’s data points have to be calculated by
Step 6: Slope and Intercept can be calculated by
Step 7: Plot the graph using scatter plot by selecting the Insert tab and then selecting scatter in the chart section.
Here, the Blue line is for a straight line(y1) and the orange line is for a curve(y2).
Please Login to comment...