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

Community Tip - Did you get called away in the middle of writing a post? Don't worry you can find your unfinished post later in the Drafts section of your profile page. X

Piecewise Function

Valyence
1-Visitor

Piecewise Function

Can someone tell me how to create a piecewise function and the syntax that is involved. I have searched all of the help directory and can't figure out how they are creating the function (I cant replicate the syntax). I want to use an if statement.

Something like the image attached is what i am trying to replicate.

Thanks

Matt

ACCEPTED SOLUTION

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

matthew brister wrote:

Can someone tell me how to create a piecewise function and the syntax that is involved. I have searched all of the help directory and can't figure out how they are creating the function (I cant replicate the syntax). I want to use an if statement.

Something like the image attached is what i am trying to replicate.

Does the attached file help, Matt?

Stuart

View solution in original post

3 REPLIES 3
RichardJ
19-Tanzanite
(To:Valyence)

In the help contents go to the chapter on programming, and specifically conditional operators.

StuartBruff
23-Emerald III
(To:Valyence)

matthew brister wrote:

Can someone tell me how to create a piecewise function and the syntax that is involved. I have searched all of the help directory and can't figure out how they are creating the function (I cant replicate the syntax). I want to use an if statement.

Something like the image attached is what i am trying to replicate.

Does the attached file help, Matt?

Stuart

Yes. Thank you that was exactly what i needed.

Announcements

Top Tags