Question: How to evaluate a user-defined function?

I have defined a function 'A' and written a procedure to evaluate it for various variables, as follows:

A := r*sin(m);

Aval := proc (r, m)

evalf(A);

end proc;

Aval(1, Pi);

The function defined by its variables is returned:  r*sin(m).

How can I get maple to return the numerical value of the function?

Please Wait...