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

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

Greetings:
How can one put arrowheads on plot axes to show that they keep going? Can it be done using plot/axis or plot/options or do I have to actually draw and overlay an arrow on each axis? Any ideas?
Thanks,
Phil

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.

So guys, here comes the big and pretty much final questions. I'd like to thank you all ahead of time, for all the help you have given me, truly you have made this project much easier, and have saved me weeks and many hours that I can now use for other subjects. In any case, this is what the "circuits" page will look like I have taken alec's advice and have decided that for the other questions all I will do is hide and show elements accordingly, and again thanks to his clock/timer help, I will be able to write the procedures to do these commands. Thanks to Doug's many Calculas Maplets, I have taken a good look at GUI set up, however his examples, are... well very advanded :D. I guess I couldn't expect any less for somebody who did 20+ years of Maple right? Moving along to the question, my question now is, how exactly would I go around building the blocks so that the window would look like that? The drop down menu and the label image would both have to be in the same "[ ]" brackets, or would that break the flow layout, or would that create the image and the drop down menu beside each other (which is what I don't want...) On a side note, this question is actually kinda a real struggle point for me, is it possible to create "frames" inside this Maplet window, so that I can add or remove elements from it? This is a crucial question because I will be adding and removing textfields from certain areas, like you are seeing, and that is going to look really messy code wise if I have to do this another way. So a question directly related to that one, is it possible to remove frames entirely? Am I going to have to use any kind of special layout to be able to design this with ease? I was thinking a grid layout of sorts would be necessary, but even in that, can anybody provide a very simple and basic version of that for me to learn from? Thats the bulk of the questions, there are some minor ones that will follow depending on the answers. I would really like to thank each and every one of you ahead of time for your assistance.

So I came across the conversion ability in Maple 10 (My school had some trouble with the registry, it's fixed now, so we're up to date with 10!)
Anyways, so I made it convert simple statements and functions, but now my question lies in exactly how deep can this conversion functionality go? Is it possible to say write a java program and convert it into a Maplet and vice versa? I know that Maplet doesn't exactly work like a full blown computer language as alec made clear in his post on the front page, but lets say I wanted to make a window in Maplet, can I convert that from Maplet to java and

for example sin(x) from 0..5Pi
how would i count the roots? there obviously would be 6 roots but is there a maple command to count these for me?
thanks

my computer is too slowly , its evaluating about 12 hours,but have no result.

**P4 512MB windows XPsp2 Maple 9.5**
who have the strongest compter who can try to run it.
(i guess maybe the procedure have some problem).

View 1984_new equation with water out.mw on MapleNet or

Download 1984_new equation with water out.mwView fi
How to draw the graph of y=100+[sin(w+1)]^3 and the 1st two degrees?

```
with(Maplets[Elements]):
maplet := Maplet([[Label(Image("E:\\image.jpg"))], [Button("OK", Shutdown())]] ):
#Maplet 2 (creates the file that it will use to pass back parameters)
#fd := FileTools[Text][Open](testFile, create=true, overwrite=true);
MapleCalculator:=Maplet( # inserted (
[
["Field 1", TextField['TF1'](10)]
,
["Field 2", TextField['TF2'](10)]
,
[Button ("Calculate", Evaluate((TF3='TF1' + 'TF2')))] # inserted )
,
["Value: ", TextField['TF3'](10)]
]): # inserted )
Maplets[Display](maplet);
Maplets[Display](MapleCalculator);
```

So I was messing around with Maple somemore, and I got the image idea to work, now my question is, is there a timer system for Maple?
I have looked at the example that Maple 9 presents to me, but it's very... very complex for what I want.
You see in the example it says to use the computer clock as a form of time, and this is technically possible by using -now() command (or something like that) to determine what the time was, what time it started, and then using that to determine when to set it off... though the details are a bit fuzzy now, it is still a rather extensive way of doing a simple thing.

i need to addition my equation like that,but this does not working. i try to use the
>'add(add(add(x*y+y*z+z*x+a,x=x1),y=y1),z=z1);'
but get the wrong answer, the 'a' addition 4-times.
this is my original procedure:
> x1:=[1,2,3,4,5,6,7,8,9];
x1 := [1, 2, 3, 4, 5, 6, 7, 8, 9]
> y1:=[9,8,7,6,5,4,3,2,1];
y1 := [9, 8, 7, 6, 5, 4, 3, 2, 1]
> z1=[4,5,6,3,2,1,9,8,7];
z1 = [4, 5, 6, 3, 2, 1, 9, 8, 7]
> eq1:=add(x*y+y*z+z*x+a,{x=x1,y=y1,z=z1}); # 'a' is a const.
Error, wrong number (or type) of parameters in function add

I've been trying to figure this out for the life of me and I keep getting an error somewhere. I'm trying to set it up so I have values for all four sides so I've used an array of variables to assign the values.. ie: [0,1] [1,1] [1,0] [0,0] but when i try and combine all of these in the plot, I get an error. Any help would greatly be apperciated.
Thanks!

I'm currently in first year calculus, so my knowledge is limited, please forgive me. I've been given an assignment, and a part of it has me rather stumped (the teacher likes to give out questions before she teaches you how to do them).
We are given 3 single-variable functions (domain is 0 <= x <= 40):
`h1 := x-> -5 * ( 1 - x^2 / 1600 ) * sin ( ( Pi * x ) / 1600 * ( x / 2 - 3 ) * ( x / 2 - 20 ) )^2;`

`h2 := x-> -5 * ( 1 - x^2 / 1600 ) * sin ( ( Pi * x ) / 1600 * ( x / 2 - 6 ) * ( x / 2 - 20 ) )^2;`

`h3 := x-> -5 * ( 1 - x^2 / 1600 ) * sin ( ( Pi * x ) / 1600 * ( x / 2 - 9 ) * ( x / 2 - 20 ) )^2;`

Hi everybody,
As a part of some general problem, I need to solve a system of non-linear ordinary differential equations.I try to get a numerical solution, so I use the "dsolve numeric" command. In same cases, the Maple print out two errors that I didn't find in his help instruction.
The first one is:
error, (in dsolve/numeric/bvp) cannot determine if this expression is true or false: 20*nerr