Hallo,
I have a problem with LSSolve that is quite strange. When I give the command
Optimization:-LSSolve( e );
I get the error "invalid optional parameter or workspace size", while if I send the same problem data to the other solvers, ie, as
Optimization:-Minimize( e^2 );
or as
Optimization:-NLPSolve( e^2 );
it seems to work, despite the fact that the same solution method is used (method = modifiednewton).
The problem does also depend on the size of the problem. If e is small and contains only 4 variables it works with all the solvers, but if it contains 6 variables or more LSSolve doesn't.

Hi all,
I'm sort of new to Maple and I got the following problem (just an example):
I have 3 equations of the following form:
sin(x)=c+d;
cos(x)=e+d;
tan(x)=e;
Now i want to solve the set of eqns to the variable c by automatically substituting d and e.
The result should be:
c=sin(x)-cos(x)+tan(x)
Furthermore it would be very good to know, how to specify which variables should be subsituted and which should remain.
I tried variations of eval, subs, algsubs and solve..
Help would be greatly appreciated!

I have been experiencing the following problem:
I define for example the expression x^2 and use the context menu to get a 2D plot then I define another such as 40-x^2 and drag it to the plot region and nothing happens. Has anybody encountered this problem before? Is this a bug with Maple or my computer?
Thanks

I was given the matrix:
A=
1 0 -2 -1
-1 1 1 0
1 1 -3 -2
0 -3 3 3
and told to reduce A to row echelon form using the AddRow function several times. I tried maple's help with no luck. Can anyone help me get started or at least clarify the AddRow function.
Thanks,
ian

Hello,
I would like to know if Maple 11 is like Scientific notebook? Is it easier than Scientific notebook? does anyone know?
Thanxs.

Hi all,
probably a simple question: I have a piecewise function that I want to invert. The actual function is the result of a couple of calculations, but here is a very simple testcase:
F1:=y=piecewise(x>=0 and x

Hello there,
how do I do a flux integral of (3xz,2y,0) over the hemisphere x^2+y^2+z^2=4 with z>=4 with Maple?
I've tried to modify the command for 'Sphere' but it didn't work and I'm not sure what the 'Surface' command does since it gives weird results...
Thanks very much!!

I want to create a Maple symbol consisting of a subliteral with a right arrow over it. If I create the subliteral with the third entry in the Layout Pallette and then use the second entry in the Accents palette to add the RightOverArrow, then I get the message "Error, invalid overscript".
Example: Subliteral from Layout Palette, type "V", tab, type "x", Highlight the entire entry and select RightOverArrow from Accents palette, type

How do I graph inequalities. A simple example would be graphing y>x-2 where the area above the line y=x-2 would be shaded. What I really want to do however is check my work for the graph of:
|x-y|+|x|+|y| where | | is the absolute symbol.

Is this thing called Interval Math? Can Maple do it?
Is this thing called Interval Math? Can Maple do it?
I am not about if this is called Interval Analysis. The thing in my mind is that I know my Monte Carlo simulation yields a result with an error tolerance of 1e-5. And I wrap that MC simulation component into a more complicated expression and form a function, I want to know the error bound of the whole function involving the MC component. Can Maple do this?
The same applies to analysis about round-off error. If I know a sub-expression has a round-off error of 1e-6, what should the error of the main expression involving this sub-expression be?

how do you remove the right palette dock only

I am using Maple 11 student and am in a trig class. Well we are working on right triangles and are using the six trig functions to solve the triangles. How do I input a sin() etc... and get a correct response. I also need to know how to put a degree mark after the sin(26) number in the parenthesis. I know this sounds simple but I cannot find in the help areas where to do this. I guess I am looking for the DMS characters, degree, Minutes, Seconds.
For some reason when I input a sin(), cos(), I do not get a correct response compared to my Ti89 Titanium calculator. and also how do I doe csc, sec, and cot. Do I just input sin^1 etc...?

For trivial expressions, we don't need automatic code generation.
For complicated expressions, code generator creates lots of temporary variables and the performance is not far from optimal.
Once I generated a C program using codegen with 500+ temporary variables and I put that function into a numerical integral as an integrand. The result was very unstable - the integrals are often NaNs.
On the other hand, I also convert Maple expression manually into C program which has exactly the same functionality. The result was correct, no NaNs in the integrals at all.
So what's the use o

Hello all,
I want to turn the following piece of code into a function of sorts by wrapping it in a proc. When I attempt to do so exactly as given in the below sample, 2 error messages are returned: The first is an 'Error, unterminated procedure' and the second 'Error, unable to parse'.
> restart; with(LinearAlgebra);
> func:=proc(params,a,b)
eta_f:=params[1]: eta_s:=params[2]: eta_w:=params[3]: eta_int:=params[4]: omega:=params[5]: G:= params[6]: u[0]:= params[7]:
params[7]: n:=a+b:
Arand:=RandomMatrix(n,n):A:= Arand-Arand:
end proc;
To state my problem in it's completeness; For simplicity I have only included an excerpt of my full input - which runs fine before the introduction of 'proc' - but I encounter identical problems to that outlined above throughout. As such I assume a solution to the above excerpt can be applied generally.

Hi all,
I am posing a question that has plagued me since I studied these in a Dynamical Systems course a couple of years ago...
Is it possible to get an integral representation for the (angular) Mathieu Functions (AMF's) - via generating functions or any method?
Consulting Ambrowitz and Stegun, and searching through recent papers the closest I came to finding such a result was one that (paradoxically) gave the integral representation of the AMF's in terms of itself (it appeared in the integral kernel).
So I was wondering if anyone could do any better or clarify this.
John