## How to make Explore bind 'a' value that is used in...

Below I want to explore a function behaviour using a slider to determine the value of 'a' so the function is shown in a plot, but I can't figure out how to use Explore to bind the value of 'a'.

If I bind bind the value using "a := 5", then plot works, but when binding through Explore it does not work.  I can also write the function in the plot like "a * x", but that is not as general as using a function.

How to explore function like that.

## Functions defined by a procedure...

Hi,

Let, fixed an integer i and 1<=j<=2^{i}-1, for each x and y in [0,1] let the following mapping

Then, with the above procedure we can obtained, for a fixed i, all the mappings for j=1,...,2^{i}-1

However, How can I to evalute the "components" of the above procedure? For instance, I can not to compute CreaF(2)[1](0.35,0.465) (i.e., the first function in the "vector" CreaF(2), in x=0.35, y=0.465).

Thanks very much for your time.

## Why isn't integral evaluated?...

Doing the following:

Why is int used when defining F not evaluated to x^2/2 when used to defined function F as shown in (2), when the int is evaluated when used separately in (3)?

## Problem when evaluating function...

I am examining the curve given by

y=R(x/L)^n

When I put this in and assign a number to any one variable, Maple always returns

y=0.8660254038

I have tried changing the names of the variables, unnassigning variables, restarting Maple, etc. but I cannot plot a function of y with x, I always get y=0.8660254038, even with only one variable assigned to a value.  I am using the student version of Maple 17.

Thanks,

David

## Functions as elements of arrays...

Hi,

say I have defined some (very simple, acting on a finite set M) functions f,g,h. I want to evaluate certain permutations, so I want to make a for loop that goes through possible combinations of functions in my array A=Array([f,g,h]). (In reality my array is a little larger.) No I don't understand how I can use the elements of this array as actual functions. Even if f is defined and I can evaluate, say, f(m), I cannot use A(1)(m) to evaluate m. The output is just "f(m)". How can I make maple recognize that we are having a function here?

## Bounds in several variables...

Hello! Hope everything fine with you. Please share the command to find the max and min values of the attached function, I had tried but I was only for one variable. I am waiting your quick response.

Examples.pdf

Mob #: 0086-13001903838

## Transforming functions to names...

Hello,

I have this list :
T:=[alpha(t),beta(t)]

I would like to create this list automatically:

Tmod:=[alpha_,beta_]

In other words, how can I remove the 3 characters "(t)" and replace it by "_"

Do you have ideas to do so ?

Thanks a lot for your help

## How to plot parametric maximum?...

Suppose I have a function like this: f=cos(2t/m)+cos(2(t+5)/m).

Now for each fixed m, we get the maximum value of f. Then I want to build a plot where x-axis is m and y-axis is f, how could I do that? Please help!

## Expression vs function...

I am wondering why Maple does this.

> f:=x^2
> f(3)
output: x(3)^2

I understand the difference between an expression and a function. If f is an expression, shouldn't it ouput  x^2(3). Why is the output x(3)^2?

When I enter f*3 or f*(3) then I get the correct expression.

Here is a screenshot. http://prntscr.com/a7u9hm

Here is image inserted with a slightly different function

Also while I am here, what exactly does g(x):= x^2 do? when i enter g(3) I get g(3) back.

g(x) is neither a function nor an expression.

screenshot http://prntscr.com/a7ua75

## Higher order derivatives...

Consider, say, the following third order derivative:

`expr := diff(f(x,y),x,y\$2);`

Does there in Maple exist some built-in functions for extracting from such an expression 1.) the function being differentiated, and 2.) the coordinates being differentiated with respect to? Using op(expr) is of no immediate avail as it returns only a second order derivative (as the first operand), and one of the coordinates being differentiated with respect to (as the second operand).

It is, of course, possible to make ones own function for extracting these two quantities, a crude example being

`splitDeriv := proc(expr,coords::expects(list) := [])   if PDETools:-difforder(expr) > 0 then      splitDeriv(op(1,expr),[coords[],op(2,expr)])   else      expr,coords   end ifend proc:`

for which

`splitDeriv(expr);`

But it would be much nicer to use built-in functions. And perhaps such functions do exist. If so, I am unable to locate them. Perhaps I am just being stupid, for the problem seems rather elementary.

## 3D scatter data to be plotted in 2D?...

Hello,

I am trying to plot 3d scattered data as a 2d scatterplot with the third dimension being displayed as colour or a line that separates the value of the two functions (for example, the higher value and lower value at that point). I attached the file. I have two functions and several parameters that are constant. Here, I want to use P[A] on the x-axis, and P[B] on the y-axis. The z dimension is the profit functions, either Profit[1] or Profit [2]. I want to show them in colors like the highest one is red and the lower one is green, or something similar.  P[A] and P[B] are probability values and P[B] is between 0 to 0.50 with 0.01 increments, while P[A] is always less than P[B]. The file is here: example_file.mw

Example;

P[A] := 0 ..P[B]-0.01

P[B] := 0 ..0.50

YC

## Comparison of element-wise operators and map funct...

Hello,

I have just discovered the existence of element-wise operators which uses the symbol tilde

In the help, I saw this exemple

sin~(<1,2,3>);
Vector[column](%id = 18446744073926346622)

which is identic to a result that I can find with map function :

map(sin,<1,2,3>);
Vector[column](%id = 18446744073926346982)

What can Element-wise operators bring more than the map function ?

Do you often use this symbol ?

Thanks a lot for your information.

## How to find the preimage?...

Hi there,

I'm trying to find a way to find the Preimage for a single point (or a small set) of a complex rational function. I've tried with the command RationalMapPreimage, which sounds like the thing to try, but I can't get my head around how this command works?

(For context, I'm trying to find the preimages of a the fixed/critical/postcritial points of a function something like f(z)=(z2-1)/(z2+1))

Many Thanks

## Compute values using function ...

Dear all;

Hello everybody, I need your help to dispaly some values obtained using my function f. When I run the code there is no results obtained. Many thanks.

restart:

# The vectors e(i) satify the folowing conditions
e(0)*e(1)=e(n-1) assuming  1<n;
e(0)*e(0)=e(2):
e(1)*e(1)=e(n-1) assuming  1<n: :
e(2)*e(1)=e(n) assuming  1<n:
#
for i from 1  to n-1 do
e(i)*e(0)=e(i+1);
end do:

# We define the function f
f:=e(0)->e(0)+(n-3)*e(1);
f:=e(1)->(n-2)*e(1);
for i from 2  to 3 do
f:=e(i)->(n+i-3)*e(i)+(i-1)*(n-3)*e(n-3+i);
end do:

for i from 4 to n do
f:=e(i)->(n+i-3)*e(i)
end do:

# We define the two vectors
x:=sum(alpha(k)*e(k),k=0..n);
y:=sum(beta(k)*e(k),k=0..n);

#Question : I would like to compute the following  but there is no display of the solution.
(x*y);
f(x*y);
f(x);
f(y);
x*f(y);
f(x)*y;
f(x*y)- f(x)*y-x*f(y);

## Problem with the sum function...

Hello,

I have a vector with 4 components. Each component is a polynom.

N := Vector[row](4, {(1) = -(1/2)*t^3+t^2-(1/2)*t, (2) = (3/2)*t^3-(5/2)*t^2+1, (3) = -(3/2)*t^3+2*t^2+(1/2)*t, (4) = (1/2)*t^3-(1/2)*t^2});
N[1]+N[2]+N[3]+N[4];
sum(N[i], i = 1..4);

I don't why the function sum doesn't work in this case. If i do the sum like this N[1]+N[2]+N[3]+N[4];, it works but it doesn't work with the use of the sum function.