I need to enter a function that is:
f(x){x+1 if x<2
{1 if x=2
{x^2 if x>2
or something of that nature. I though I remember doing it before, but I can't figure out how to put the if things in there. I looked all through the manual but didn't see a mention of it. Can I do that x is <, >, or = stuff?
f(x){x+1 if x<2
{1 if x=2
{x^2 if x>2
or something of that nature. I though I remember doing it before, but I can't figure out how to put the if things in there. I looked all through the manual but didn't see a mention of it. Can I do that x is <, >, or = stuff?
