Function as a parameter in proc

July 31 2007 by SandorSzabo 552
false
Maple

0


I want to write the function into the proc. test:=proc(h) h(1.1); end; proc(h) ... end; It doesn't gives what I want: test(x^3); 3 x(1.1) I would like to obtain 1.331 . More explicitly, how can I write into a proc a function directly, say x^3? (Not defining earlier h:=x->x^3 .)
 
Loading Comments & Answers

You must be logged into your MaplePrimes account in order to post a comment. If you don't have an account, you can create an account here.

     

Forgot Your Password? Create an Account