Skip to main content
8-Gravel
Oct 16, 2025 9:40 PM UTC
Solved

Manipulating Data Based on Intersection Points between Curves

I would like some help to develop a loop in Mathcad that returns x-axis offset distances between intersection points of two curves based on the y-values of the respective curves. 
The attached Mathcad Prime 11 file contains the details and a fuller explanation of this request for assistance.
Note, this is a follow-on from an earlier post titled "Mathcad Intersections and Discretized MatrixData". A link to this earlier discussion has been included at the top of the attached file for convenience.

Werner_E
Werner_EAnswer
25-Diamond I
Oct 17, 2025 12:05 AM UTC

I understand the for y=24mm the result should be 160mm and for y=8mm it should be 0mm.

 

What*s the result for y=20 mm? Should it be 0mm or 10mm? According to the results of 

Werner_E_0-1760656538823.png

I asseum it should be 100 mm.

 

What's the result for y=30 mm?  According to

Werner_E_1-1760656598433.png

it should be 250 mm.

 

What, if for different input values A,B there are three or more shaded areas? It would mean that the output should again be a row vector with more than one value.

 

Here is a solution which follows the above assumptions:

Werner_E_3-1760658842069.png

 

 

 

 

 

 

 

2 replies

Werner_E
Werner_E25-Diamond IAnswer
25-Diamond I
Oct 17, 2025 12:05 AM UTC

I understand the for y=24mm the result should be 160mm and for y=8mm it should be 0mm.

 

What*s the result for y=20 mm? Should it be 0mm or 10mm? According to the results of 

Werner_E_0-1760656538823.png

I asseum it should be 100 mm.

 

What's the result for y=30 mm?  According to

Werner_E_1-1760656598433.png

it should be 250 mm.

 

What, if for different input values A,B there are three or more shaded areas? It would mean that the output should again be a row vector with more than one value.

 

Here is a solution which follows the above assumptions:

Werner_E_3-1760658842069.png

 

 

 

 

 

 

 

Translate
8-Gravel
Oct 17, 2025 7:37 PM UTC

Thank you. 

Your assumptions were correct regarding the desired outputs.

Much appreciated.

Translate