## 15 Reputation

18 years, 183 days

## Force Maple to defer evaluation of argum...

Maple

I've finally tracked down a problem I was having to a behavior in Maple I find, possibly, understandable, but need to figure out how to prevent.   Specifically, in expressions of the form x^y, where both x and y may sometimes be zero, the behavior I require is for Maple to evaluate y first so x^0=1 whatever the value of x is.   (Maple does evaulate 0^0=1 itself, I note.)

An example where this sort of thing comes up is in an expression like

sum(x^k,k=0..5)

## How to code sliders to make it easy to a...

Maple 14

My goal is to find a way to code sliders that set parameters for a plot so that it is not necessary to re-code all of the existing sliders when a new one controlling the same plot is added.

The closest I've come is the following.   Say I've defined a couple of functions

f:= (A,x) ->  sin(A*x);

g := (B,x) -> cos(B*x);

and

plot0 := plot([f(A,x),g(B,x)],x=a..b,color[blue,red]);

And two sliders with code for action

 Page 1 of 1
﻿