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

Popular posts from this blog

angularjs - ADAL JS Angular- WebAPI add a new role claim to the token -

php - CakePHP HttpSockets send array of paramms -

node.js - Using Node without global install -