Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X

Translate the entire conversation x

Evaluate a function using tabulated data

GD_10149406
2-Explorer

Evaluate a function using tabulated data

I need to create a list of solutions to a function based on tabulated inputs see the below not sure how to do this in Mathcad
image.png

ACCEPTED SOLUTION

Accepted Solutions
StuartBruff
23-Emerald III
(To:GD_10149406)


@GD_10149406 wrote:

This is for predicting noise in a control valve, the variable Lpi is the internal sound pressure level at a reference pressure, fp is the peak frequency and both of these are known fi is the only changing variable.  The table is all the third octaves.

 

GD_10149406_0-1730128926520.png


 

So more like this?

 

2024 10 28 F.png

 

Stuart

View solution in original post

4 REPLIES 4
Werner_E
25-Diamond I
(To:GD_10149406)

For a start you should create a worksheet with the tabled data and an attempt for the function definition and post it here.

 

You will also have to exlplain which frequency f.l and fp should be and why a function with the name  L.pl uses a variable(!!) with the same name in its definition. Guess that you don't have recursion in mind, don't you?

StuartBruff
23-Emerald III
(To:GD_10149406)

Is this the kind of thing you were after?

 

2024 10 28 E.png

 

Stuart

 

Mathcad Prime 10 worksheet attached.

This is for predicting noise in a control valve, the variable Lpi is the internal sound pressure level at a reference pressure, fp is the peak frequency and both of these are known fi is the only changing variable.  The table is all the third octaves.

 

GD_10149406_0-1730128926520.png

 

 

StuartBruff
23-Emerald III
(To:GD_10149406)


@GD_10149406 wrote:

This is for predicting noise in a control valve, the variable Lpi is the internal sound pressure level at a reference pressure, fp is the peak frequency and both of these are known fi is the only changing variable.  The table is all the third octaves.

 

GD_10149406_0-1730128926520.png


 

So more like this?

 

2024 10 28 F.png

 

Stuart

Announcements

Top Tags