I have an array I have defined within Maple - how does one plot the array? I have tried defining a function mapping the index to the element of the array, but it's not clear how to restrict that to integers ...
-Monty

I am trying to create an array for testing the FFT errors within maple. Every time I try to assign values to the 1024-element array, the program prints them all out. Is there any way to turn this off?

How do I multiply(expand) a Polynomial and get it's shortened form?
I have a polynomial X^2+a*X+b
and I rise it to the power of 2 and multiply by X
eg X*(X^2+a*X+b)^2
and I wish to get the answer for this in the form of
X^5+2*X^4*a+(a^2+2b)X^3+2*a*X^2*b+X*b^2
as opposed to getting
X^5+2*X^4*a+2X^3b+a^2X^3+2*a*X^2*b+X*b^2
Is this possible? At the moment I use the Expand command in maple to generate the answer. I know this is slightly pedantic as maple is returning the correct answer but I need to build a Matrix out of this using quite a few of these polynomials.
Any h

I have to following Maple file and from the graph that is plotted the I need to find how far each of the reflected rays falls from a common focus. Is it possible to read the values of the y-intercept of each of the refelcted rays and then either output these to a file or to directly plot a graph showing the distance each ray falls from the common focus. Thanks

Download 3259_Mirror.mwsView file details
Sorry for the repetition. I posted this last night as a reply rather than a new posting.
I am having difficulty converting latex files with maple-graded questions. It appears that it does not recognize the question type even though the documentation claims that all question types are available with latex.
If I try this example or any of the examples in the latex authoring documentation, it generates errors on the latex2edu conversion site.
```
\documentclass[12pt]{article}
\usepackage{ed}
\setImageBase{../classes/myclass/images}
\begin{document}
\begin{topic}{fun}
\begin{question}{Maple}
```

This is a personal pet peeve.
Let A be a 2x2 matrix with elements 0.5, 0.5, 0.3, 0.7
Find A^2
Repeat with a 2x2 matrix with elements 1/2, 1/2, 3/10, 7/10.
Why does the first example give more than 2 decimals? Why is the answer to the first so inaccurate?
Is there some library besides LinAlg or LinearAlgebra I should include to handle such rudimentary calcs?

Hi,
It´s possible to call a Maple library from a module or a procedure? I try to use the command with, but Maple don´t accept that.
Thank´s
João Paulo Laudares

In the following qu file for a MapleTA question, if the RESPONSE is

{a<x and x<b} then after the question gets graded as correct, "Your Answer" appears incorrectly as {a<b}.

But if the RESPONSE is

{a< x and x<b} (note there is a blank space after the first inequality sign!) then "Your Answer" appears correctly as RESPONSE.

One could ask students to put the blank space in, but this should not be necessary. Any ideas?

.......

question=Enter this and see what happens.

<p>

$qml@

maple=evalb(($ANSWER)=($RESPONSE));@

maple_answer=$ans;@

type=maple@

mode=Maple@

name=a< x< b@

Has anyone had any trouble using Equation with structures that are not functions? I am using 2.51, and the following question always returns incorrect.
```
\begin{question}{Equation}
\qutext{Test question}
\answer{x^2 + y^2 = 1}
\end{question}
```

Is there a workaround?

When I use PDEtools in Maple10 to get subscript notation of derivatives it works for equations that are assigned to another variable name. It does not work for equations that are referred to only by their Maple10-generated equation numbers. The sample case below shows the problem. It is an edited Maple-text version. I tried uploading the file, but neither Live Worksheet or HTML copy correctly display. Live Worksheet apparently doesn't access PDEtools, and the HTML copy can't handle equation number references. I can supply the test file to any one who wants it.
------------------------------------------------------------------------------

I know the 'factor' function won't do it. But is there any function available in Maple that will take for example 2*p^2 + 4 as an argument and return 2(p^2 + 2) as a result? i.e. I want to factor integer coefficients.
Thanks,
Eddie

Hi,
I was having a problem to write a Maplet for model selection. My problem is that, the variables from Combobox are not received by the procedure that should make the model selection. I am trying to apply the function parse to transform the string from ComboBox and add it to the variable that will be send to procedure FORMULCAO. Here is the code:
> with(Maplets[Elements]):
> Cond:=module()
> option package;
> local maplet;
> export Model;
> global deptemp,N, NDOM, MODE;
> use Maplets[Elements] in
> maplet := Maplet([
> [
> "Time Dependence: ",
> ComboBox['CoB1']("stationary", sort([

Hello, my problem is the memory!!
I have a P4 3.20GHz, with 2.00GB of RAM.
I must evaluate a 1296x10000 matrix that consists of complex number that derive from many calculus!
Maple software tell me that there isn't enough memory and the kernel connection is lost.
How can I solve the problem?
Marco

Hello,
I would like to define new type in my package but I don't know how. What should I change in followng code to make it work? Thank you.
Karel Srot
restart:
march('create', ".", 3);
MyModule := module() option package;
export p, `type/FS`;
`type/FS`:=proc(t); # define new type
if t=`a` then
RETURN(true);
else
RETURN(false);
end if;
end:
p:=proc(S::FS) local coeff, t;
print(1);
end proc:
end module;
savelibname := ".":
savelib('MyModule');
restart:
libname:=libname, `.`:
with(MyModule);
type(a, FS);

hi
I am new to Maple. I have been trying to solve a nonlinear equation, but have been fraught with problem. I would appreciate any help. Solution through 'solve' would be great but 'fsolve' will be ok too.
For the solve
eq:=int(E^2/(exp((E-Mu)/KT)-1), E=El..EU))
-int(E^2/(exp((E/KT)-1), E=EL..EU))=0)
Typical values of E are 10^-19; and KT is about 10^-15.