I have written a loop that should create an array, but because I am solving a polynomial both solutions are given in the array. Is there a way to just select out the positive root so that I can plot with this array later? Any help would be greatly appreciated.
Nick

Hello, I am working on a problem that I cannot solve for several days. Any help is welcomed :)
I have a differential equation
y''(x) = a * y'(x) + b * y(x) + c
I have two vectors X = (x1, ..., xn) and Z = (z1, ..., zn)
y(x1) = z1
y(xm)=zm
I have to solve the problem by determining the 'a', 'b' and 'c' by using least square method.
I am trying to use dsolve to get a solution of the differential equation and then the Optimization package to use the least square method, but I cannot get it right.
Thank you very much for any help.

How can I create a 3D images in Maple 11 without entering any expression?Is it by using the new drawing tools?

hi...
can any one give me general source code for random generator?
i need to use the source code for my project...
thank you..

Is it possible to produce a file of something like tab delineated data via a 2D plot object? Basically all I want to do is create a data file using the points stored in the plot structure for use in a METAPOST file, and I haven't been able to come up with anything. Any help would be greatly appreciated. Thanks a lot.
Keenan

I'm working on a problem for class that requires me to use dsolve but, I'm getting a generic error when I try to use dsolve the exact same way they use it in the example.
my code is:
A:=matrix([[-1,0],[1,-2]]);
B:=matrix(2,1,[1,-1]);
ics:=x(0)=matrix(2,1,[1,0]);
equ:=diff(x(t),t)=A*x(t)+B;
dsolve({equ,ics},{x(t)});
Error, (in solve) invalid arguments
I don't know what's wrong with this since its almost exactly like the example they give for dsolve.

My class was given this question as a final homework but we can't figure out how to solve it. We have talked to the professor on multiple occasions but he will not provide any help. If anyone knows how to solve this using maple, please help. The question is below...
solve x(t) = Ax(t)+B where
B=[1
-1]
A=[-1 0
1 2]
and x(0) = (1 0)
Sorry for the matrix formatting but, I don't know how to use the math equations here.

I downloaded the files for this app but I did not see any instructions on installing this. Can anyone help me install this library?
Thanks

Maple Professionals:
I wish to prgramm a greedy heuristic in maple and would be more than grateful, if someone could help me, since I am no expert in programming.
The problem is a simple stocking problem. There are two parts I wish to stock in my warehouse. I know their demand, delivery time and item cost. From the demand and the delivery time I can calculate the expected backorders given a specified number of units in stock based on a poisson distribution.
In the greedy heuristic step by step I increase the stock of all items by 1 and then calculate the reduction in expected backorders divided by the item cost (some kind of "bang per buck"). I then compare the reduction over all items and increase the stock by one for the item with the highest reduction.

Hi ! Sorry for my english... I'm finding roots of polynoms like X²+ aX + b, a and b can be very complicated, with a lot of square roots inside. When maple gimme the roots, or when i assign some variables, it try to simplifie the output, creating "subsections" named %1 or %2 etc... For example : Or How can i get the output without theses "simplifications" ?

Hi,
can anyone help me with the following
what is the purpose of the
(1) getmath(var) command
(2) getmaple(var) command
(3) exportmath(var) command
(4) exportmaple(var) command
in addition, can i author questions for export to mathML using the standard maple package? or do i need to download and install maple TA as well?
here is a sample of the type of questions i am trying to author.
any inputs would be welcome. you could also send your replies to erodish333@hotmail.com
thanks !
sudarshan shidore
Please replace this text with the link to your file.
The li

Hi,
I'm just writing a question bank for some simple integration exercises. This causes some problems with the constants of integration and the syntax of maple graded questions:
If I ask for `int(1/sqrt(x^2+4),x)`

one student could give the correct answer `ln(x+sqrt(x^2+4))`

and another one could give `arcsinh(x/2)`

, which is correct as well but with another additive constant. In formula mode one of these results would not be acknowledged as correct.
Therefore I tried to use maple graded questions and compare the differentiated results.
I used the syntax like in the manual at http://www.brownstone.net/support/edu/authoring/index.html

I recently purchased Maple 10. In the user manual is described that 95% of Maple is open-coded, but in fact only *eval(packagename[command])* really show the program in Maple for related toolpackages.It is far away from 95%! Where am I wrong?

Good day,
Working in Document Mode.
I'd like to know how to break up a long expression into multiple lines for improved readability. Does Maple support a character ... or sequence of charaters to indicate continue expression to next line and delay evaluation? .... much link Matlab's "..." sequence.
For example: Format
coefsoln := solve({xxi = subs(t = 0, f), dxi = subs(t = 0, df), d2xi = subs(t = 0, d2f), d3xi = subs(t = 0, d3f), xf = subs(t = tf, f), dxf = subs(t = tf, df), d2xf = subs(t = tf, d2f), d3xf = subs(t = tf, d3f)}, {a[0], a[1], a[2], a[3], a[4], a[5], a[6], a[7]})

I can easily adjust the field strength in a fieldplot,
with(plots):fieldplot([x/(x^2+y^2)^(3/2),y/(x^2+y^2)^(3/2)],
> x=-1..1,y=-1..1,fieldstrength=log);
but the same command does not work in a dfieldplot.
with(DEtools):dfieldplot(diff(y(x),x)=1/2*(-x-(x^2+4*y(x))^(1/2)), y(x), x=-3..3,
> y=-3..2, title=`Restricted domain`,color=1/2*(-x-(x^2+4*y)), fieldstrength=log);
How can I adjust the field strength in my dfieldplot?
For simplicity, I took these examples out of the help pages in Maple10.