Define a Function - Maple Programming Help

# Online Help

###### All Products    Maple    MapleSim

Home : Support : Online Help : Tasks : Algebra : Defining Expressions, Functions, and Procedures : Task/DefineFunction

Define a Function

 Description Define a function.

Specify the expression, and then define the function.

 > $f≔x\to \frac{{1}}{{2}}{+}{\mathrm{sin}}\left({x}\right)$
 ${f}{:=}{x}{→}\frac{{1}}{{2}}{+}{\mathrm{sin}}{}\left({x}\right)$ (1)
 Commands Used
 See Also

## Was this information helpful?

 Please add your Comment (Optional) E-mail Address (Optional) What is ? This question helps us to combat spam