Hello. I've tried to create function with x[1] variable, but at any time I receive the following error:
** > f := x[1] -> x[1];**
`Error, symbol or symbol::type or symbol:=expression expected in parameter list`

What is the problem here? IIUC x[1] is the element 1 of array x. So does maple forbid usage of array elements in function definitions? Thank you for your time.

Hey
Is it possible to specify a domain or boundaries for a function / expression and if so, how to do it?
Here is an example of want I want to do:
If I have the following function f(x)=x^2 and solve this problem solve(f(x)=4,x) I get the answers x=-2 or x=2, but I want to be able to specify that x has to be greater than 0 (0solve(f(x)=2,x)|x>0 but I can't in Maple. Generally I could use | to assign values and limitations to expressions.

How do i solve for C?
C = 23481726526273849572 ^ 10982375684973 mod 2984652746
M e n
I was told the proper command was C := M&\^e mod n; OR C := Power(M,e) mod n; but neither work.

Hi,
I'm somewhat new to Maple and I have a problem that I can't figure out.
I have an excel file that performs a series of calculations and I would like to plot the values from a single cell as an input parameter cell is varied. Is there a way that I can use Maple to do this? I tried exporting a value to the input parameter cell, and then importing the value from the output cell, but the value that gets imported isn't changing as I vary the exported value. If I open the excel file itself, the values have changed, so I know the export is working, but it doesn't seem to want to import the new value from excel.

In Maple,how can I simplify an expression to a better form ? Like this,for example:
a^2+2ab+b^2
-> (a+b)^2
a^3+3a^2*b+3a*b^2+b^3
-> (a+b)^3
As I know,simplify() only groups similar terms and some simple computations, doesn't it ? So , how can we do like the above ?
I think that Maple must be able to do that , because it's a required utility of a CAS.

I use Maple-11 , especially the Physics and Tensor, Diff Geometry packages, in a worksheet. How do I get to create tensors with a uniform notation for covariant and contravarint indices using Create or Define ? I need tensors like, for instance, A superscript i, subscript j, as in McCONNELL (Abs. Diff Calculus)
How do we get a uniform notation for tensors on a worksheet using either the Physics or Diff Geom package ? Are Create and Define equivalent ? Can thye be made to print tensors with the same format, or appearance? Please give me a few examples.
Thanks.
Radhakrishna
Prof Physics

I have get a functionsystem:

I apologize to ask this rather simplistic question, but I am very new to this.
I can plot a function such as plot(10*x3, x=1..5); BUT what if the range is only specific points such as x=1, 0,07, 8?
What is the syntax for this range?

I'm trying to swap rows of a matrix using the LinearAlgebra package not the linalg one.
is there a easy way of doing this?

The special linear group SL(2)consists of all 2 x 2 matrices (with complex elements) having a determinant of +1. Show that such matrices form a group. Note. The SL(2) group can be related to the full Lorentz group in Section 4.4, much as the SU(2) group is related to SO(3).
Arfken, and Weber.
v/r,
thanks,

well, i'm using a Evalution Version Maple .i spend one day time to find how can i change Maple to Document Mode but finally failed. May be Evalution Version doesn't have Work Mode and only have Document Mode? :(

I have a list of lists. The number of lists I have is unknown (though always a positive integer) and the number of elements in each list is unknown (though, again, always a positive integer). Some examples:
[[2],[3]];
[[4],[4],[5,1]];
[[3,4,1],[2],[2],[6,7]];
I'd like to form a list of all possible sums formed from one element of each list. The lists of sums from the examples above would be
[6];
[13,9];
[13,14,11,14,15,12];
The order doesn't matter, and repeated elements don't matter. I can form these lists when I can control the number of lists in the large list and write an explicit nest of for loops. I figure there's got to be a more elegant and powerful way of producing these sums.

Hi I've got 2 functions of a variable T [x(T) and z(T)] and a varying parameter u and i want to plot x(T) and z(T) against each other and show how the curve changes as u varies
(hope that makes sense)
how can i do that?

(I think this was posted in the wrong section of mapleprimes.)
Hi,
I have read the manual on saving to a file many times but it never works for me.
I am using Maple 10 on a Mac running MacOS 10.4.10.
I have copied the example from the manual and run that and it does work so I am quite confused.
Here is what I would like to do: I have a worksheet with lots of definitions,equations, lists, etc. and I would like to have these available on another worksheet. I have tried
> save nx; # nx is the name of my worksheet
then
> read nx;
Error, unable to read `nx`
I have the same problem with trying to save names e.g.

For the following function determine the x coordinates of the local minimum and the local maximum
f(x)=9x+21/(x-13)