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

Units not compatible

JB_10220769
8-Gravel

Units not compatible

Is temperature units computable with pressure within equation in Prime? 

ACCEPTED SOLUTION

Accepted Solutions

To Werner's point:  there can be hugely different results.

 

Revised sheet attached,  Always be careful using temperature scales.

View solution in original post

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

Its absolutely unclear to me what you are trying to achieve!

What are the units of the values in P?

Have you read the help concerning the "linterp" function?
This function returns a function, not a value.

And of course the first argument (a column vector) must be of the same dimension (any temperature unit in your case) as the third argument (independent variable of the function).

So this would work OK

Werner_E_0-1704466246642.png

but I doubt that your intention is to interpolate between two equal values (2).

 

linterp works on column vectors.  Try transposing P.

 

Example in Prime 4 Express, using home-built linterp.  (Prime will allow matrices with alternate units.)

Careful! T/(1 °F) is NOT 277 as you might have expected.

Yes! I could claim that we needed to leave something for the questioner to correct . . .

To Werner's point:  there can be hugely different results.

 

Revised sheet attached,  Always be careful using temperature scales.

Announcements

Top Tags