Skip to main content
10-Marble
September 10, 2025
Solved

Find the values matching the boundary defined by vectors

  • September 10, 2025
  • 1 reply
  • 561 views

I have the following boundary and an angle with the origin

 

netoprax_0-1757530959316.png

 

Pr and Mr are 1 x n vectors. I need to find, by interpolation, what is the value of Pr and Mr that correspond to the angle. what is the easiest way to do that on Mathcad?

I am using Mathcad prime 9.0.0.0. Attached the file

Best answer by Werner_E

Here is the solution given the assumptions made in my previous reply.

Werner_E_0-1757545119359.png

 

Prime 9 sheet attached

1 reply

25-Diamond I
September 10, 2025

Can you post a worksheet?

And say which version of Prime you are using (especially important if you are not using the latest version)

 

One way I can think of is to calculate a vector Phi with all angles corresponding to all points (M;P).

Then you can create two interpolating functions (may linear interpolation with "linterp") M(phi) and P(phi) using the vectors Phi and M , and Phi and P respective. Now you would have functions which return M and P values for any given angle phi.

netoprax10-MarbleAuthor
10-Marble
September 10, 2025

I edited the post to include both: file and version. Thanks!

25-Diamond I
September 10, 2025

OK, when you talk about the angle you have to be aware that this angle is dependent on the units the quantities are displayed in.

Should a point like #10  M=1423.44 kNm,  P=14074.94 kN  correspond to the angle 84.225 °  ??

It won't look that way in the plot because different scales are used on both axis:

Werner_E_0-1757542126346.png