How to define a function?

resolvent's picture

I am in a mode with a red arrow on the left.

How do I define f to be an algebraic function of x over C, the complex numbers, such as

f(x)=x+7+I

I want to be able to plug in complex numbers for x and have a complex number

returned, say

f(9-5*I)=16-4*I

Functional Operator

See the Functional Operators help page (?->):

f := z -> z + 7+I;

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
}