cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Need help navigating or using the PTC Community? Contact the community team. X

Translate the entire conversation x

Manipulating Data Based on Intersection Points between Curves

RE_12882698
8-Gravel

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.

ACCEPTED SOLUTION

Accepted Solutions
Werner_E
25-Diamond I
(To:RE_12882698)

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

 

 

 

 

 

 

 

View solution in original post

2 REPLIES 2
Werner_E
25-Diamond I
(To:RE_12882698)

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

 

 

 

 

 

 

 

Thank you. 

Your assumptions were correct regarding the desired outputs.

Much appreciated.

Announcements

Top Tags