Christian Wolinski

MaplePrimes Activity


These are questions asked by Christian Wolinski

Code & result:

> map((a::uneval,b)->'args',[a,b,c,d],1..4,x);       
['a, 1 .. 4, x', 'b, 1 .. 4, x', 'c, 1 .. 4, x', 'd, 1 .. 4, x']

> map((a,b::uneval)->'args',[a,b,c,d],1..4,x);           
[a, 1 .. 4, x, b, 1 .. 4, x, c, 1 .. 4, x, d, 1 .. 4, x]

Why is the output not:
['a', 1 .. 4, x, 'b', 1 .. 4, x, 'c', 1 .. 4, x, 'd', 1 .. 4, x]
and
[a, '1 .. 4', x, b, '1 .. 4', x, c, '1 .. 4', x, d, '1 .. 4', x]
?

Does `evala/toprof` still exist in newer Maple versions, or is there an equivalent?

I am curious, can simplify/siderels be executed in mod p by some equivalent Maple function call?

Is there a Maple function that given a set of substitutions in form object=set of substitute objects produces a sequence of sets, each a product of substitution from the next, remove repetitions. An example:

 

#Substitutions
a = {b, c, d}, b = {a, b, e}, c = {a, d, f};
#Result
a = ({e, f}, {b, c, d}), b = ({f}, {c, d}, {a, b, e}), c = ({e}, {b}, {a, d, f});

sqrt(5) gives sqrt(5)

sqrt(1+sqrt(5)) gives "You have entered an invalid Maple expression"

sqrt(u) gives sqrt(u)

sqrt(1+u); gives "You have entered an invalid Maple expression"

 

when using the Maple Math icon. How can I get the correct input for the two expressions?

First 10 11 12 13 Page 12 of 13