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

Community Tip - Did you know you can set a signature that will be added to all your posts? Set it here! X

Translate the entire conversation x

Find the values matching the boundary defined by vectors

netoprax
10-Marble

Find the values matching the boundary defined by vectors

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

ACCEPTED SOLUTION

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

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

Werner_E_0-1757545119359.png

 

Prime 9 sheet attached

View solution in original post

5 REPLIES 5
Werner_E
25-Diamond I
(To:netoprax)

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.

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

Werner_E
25-Diamond I
(To:netoprax)

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

 

 

Werner_E
25-Diamond I
(To:Werner_E)

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

Werner_E_0-1757545119359.png

 

Prime 9 sheet attached

That is right, the results would be dependent on the unit

 

as you assumed below, using kN and kN.m is ok, since I just need to compare the values of a point (Mr, Pr) passing through that angle with the values of Mr, Pr at the boundary.

Announcements

Top Tags