## Maple Questions and Posts

##### These are Posts and Questions associated with the product, Maple

As a project I have found need to create a new type through the external calling interface of maple. To allow for easy use of this type I have been overloading the operators to handle this new type. Most of them seem to work quite well but I am having a problem that by overloading these operators some totally unrelated functions seem to break (even when not dealing with my new type).

## Dsove,numeric...

Hello everybody! I again have a problem with "Dsolve numeric". I solve a system of linear ODEs with boundary and continuity conditions.I got an error, which is associated with any internal procedure of Maple. For the sake of simplification, I reduced the order of equation from two fourth-order ODEs to the eight equations of the first order, but the same error is outputed. Download 2847_problem-1-1.mws

## 3D plotting...

Hello, my question is very simple but I can't find the way to do it. I have to plot several 3D-dots(x, y, z) over a 3D-sphere. Please, can anyone help me? Thanks!

## Excel...

Is there a way to take data from an Excel Spreadsheet and easily put it into a matrix in Maple 10?

## External Numerics using Pari from Maple

by: Maple
Pari is a C library mainly for Number Theory, but it has excellent numerics, both real and complex case and with arbitrary precision. As it seems not to use much symbolics for that it is quite fast. This can be useful for some special functions or integration, see the appended example worksheets (and may be Linear Algebra a bit later these days).

## Animate a plot...

This is my worksheet: > a:=10: > f:=6: > for i from 1 to 12 do b[i]:=arrow(r[i],F[i])od: F[i] are predefined vectors and r[i] are the points form which they start. > with(plots): > with(plottools): > A:=seq(b[i],i=1..12): > > > B:=plottools[line]([0,0,0],[a,0,0],thickness=3,color=black): > C:=plottools[line]([0,0,0],[0,a,0],thickness=3,color=black): > unprotect(D): > D:=plottools[line]([a,0,0],[a,a,0],thickness=3,color=black): > E:=plottools[line]([a,a,0],[0,a,0],thickness=3,color=black): > > F:=plottools[line]([0,0,0],[0,0,a],thickness=3,color=black): > G:=plottools[line]([a,0,0],[a,0,a],thickness=3,color=black):

How do I get the solutions from the results of fsolve to a cell on the spreadsheet? For example, fsolve gave me {t3=4.6976,t2=4.42238} and I want to put them in cell A1 and B2 respectively. Thanks.

## Why the error...

Can anyone tell me why I am getting the error I am getting in this file. View 2292_Binomial.mw on MapleNet or Download 2292_Binomial.mw
View file details

## Maplets problem - for...do ?...

Hi everyone, I'm trying to make a maplet application, but am encountering some problems.... I'd like to have a maplet asking for an integer input, and after clicking ok, it would open a new maplet with as many TextFields as the given integer. Is there a way to do this? In normal Maple code, I would use a for...do loop of course, but these loops seem not allowed in maplets... Suggestions are more than welcome. Thanks a lot in advance! Frederik.

## Example: using Maple from Excel VBA

by: Maple
```I did that for matrix inversion:

Here is some stuff for doing that by calling Maple from Excel. The reason
is that one could care for extreme cases, where a really good precision
is needed. I included an example how to switch to rationals, where the
inversion can even be done exactly (do not use it for dimensions to high
and then it would be better to do it solely in Maple + cut&paste).
```

## Code Generation...

I am using Maple 10 to generate via codegen and CodeGeneration systems of ODEs to be externally solved by CVODE (a solver written in C). It happens that the lines so generated are so huge that the C compiler chokes. Searching this forum for previous posts I found the recommendation to use the optimize option in order to break long lines. However this seems to be insufficient and I wonder if there is a simpler solution like specifying the maximum line length and have Maple handle the breaking.

TIA,
Heitor Pina

## Order of eigenvectors and values...

Hi again, I am having trouble resolving the issue of which eigenvector is 1st, 2nd 3rd etc. The need is for diagonalization because the eigenvectors are the columns and the eigenvalues as you know are the diagonal entries in the A matrix. Does it make any difference in what order the vectors are placed in the columns? TIA Larry Ciak aka malt_master

## Displaying text and math in the MathMLViewer...

How would I go about doing this? cat() doesn't seem to work well inside MathML[Export], and I can't think of a way to insert spaces, so text would run up against each other, like findthederivativeofx^2 Right now I'm using a text box above and seperate MathMLViewer below for the symbols, but I would really like to combine them into one. Any ideas? Thanks.