# Defining functions in Maple T.A. browsing

• To define a function in Maple T.A. (function is a procedure that returns a value) you can use the proc command.

#Algorithm

$f=maple("proc(x) x^2 end proc");$g=maple("\$f(2)");


This returns the following result