How to take a function as user input on MAPLE? -
if want take function user input how do that?
i tried input $x^2$.
s0:=readstat("enter function:");
s:=x->s0;
s(2);
but returns $x^2$
use unapply, in s:= unapply(s0, x); cannot use local or formal variable in readstat input.
Comments
Post a Comment