Skip to main content
Jan 25, 2018 2:47 PM UTC
Solved

How to write mathematical equations in relation dialog box, such as cuberoot, cot, tan, cosine etc??

Hi All,

Let take is a parameter(d1), ds,g1 and toe...
now i want to write equation for below farmulaes, how can i write, please suggest...

 


cuberoot.jpgcot.jpg


regards & thanks!
Shravan

 

 

KenFarleyAnswer
Jan 26, 2018 11:40 AM UTC

Gotta put that 1/3 in parentheses. Operator precedence.

27^1/3 = ( 27 ^ 1 ) / 3 = 27 / 3 = 9

27^(1/3) = 27^0.33333333 = 3

8 replies

Jan 25, 2018 3:06 PM UTC

It should all be explained in the help section under expressions.

I am not sure about the cuberoot value.

Jan 25, 2018 3:39 PM UTC
Jan 25, 2018 5:58 PM UTC

R1max = 0.505 * d1 + 0.069*d1^(1/3)

ds = p * cos ( tau / 2 ) / sin ( tau / 2 ) - 1.04 * g1 - 0.76

 

The only term I'm not sure of is the fractional "power", "^(1/3). I've never had need to use such an expression. You should also take a look at the reference materials people have suggested. The syntax is similar to most programming languages with respect to operator precedence, etc.

All "variables" above ( such as "tau", "d1", "R1max", etc.) are assumed to have been defined as parameters or model dimensions.

srajbharAuthor
Jan 28, 2018 2:07 PM UTC

It worked! thanks!

Jan 25, 2018 6:27 PM UTC

This sounds like an excellent case for using an embedded Mathcad worksheet instead of Relations.

Mathcad Express is free from PTC, and no additional licenses are necessary to embed a worksheet. This functionality is available from the Applications tab.

Jan 25, 2018 11:41 PM UTC

Unless I'm mistaken, these equations are of fundamental importance in the urine extraction process.
Or as we call it in Scotland, taking the piss!

??

Jan 26, 2018 10:17 AM UTC

Hi, for power and root functions the format is ^x and ^-x, so cube root will be ^0.333 or ^1/3

KenFarleyAnswer
Jan 26, 2018 11:40 AM UTC

Gotta put that 1/3 in parentheses. Operator precedence.

27^1/3 = ( 27 ^ 1 ) / 3 = 27 / 3 = 9

27^(1/3) = 27^0.33333333 = 3