I have a button and a math container where the button code is given below.

The code simple generate 4 random numbers when you press the button and save the random numbers in a list which

is displayed in the math container.

with(DocumentTools):

with(Statistics):

to 4 do

r:=evalf(Sample(RandomVariable(Normal(0,1)),1)[1],1);

if not assigned(LL) then LL:=[r] else LL:=[op(LL),r] end if;

end do;

Do(%MathContainer3=LL);

How do I number the pages in a Maple worksheet?

paul

Geetings!

I try to fit curve through set of points that I read from a graph. Then use equation of this curve to define a function function. Only bspline approximation gave acceptable result. But how can I use it in defining a function?

XvalsCf := [0, 5, 10, 25, 50, 100, 140, 200, 250, 300, 400]

I recently optimized a fairly large function with 100+ parameters using the Minimize command. In order to keep track of everything, I gave them logical names (ie. qk0, qk1...). Instead of preserving the order in the output, maple reported the solution as a set and not a list. Can I change this. I know that with minimize (lower-case) I can set location=true. Any ideas for Minimize?
Also, what about exporting the results to Excel/Numbers for analysis?
All help is greatly appreciated.
Steve

I have a function of two variables, f(x,y).

The function does involve in infinite series of functions fn(x,y)

f(x,y) = sum( fn(x,y) , n=-100..100)

but that shouldn't be an issue.

I need to solve numerically the roots of f, obtaining a stored function y(x) over a range x=0..1/2.

Finally, I take y(x) and evaluate another function, g[ x, y(x) ] over the range of x.

g(x) would be plotted.

here i have an ode system:

diff(x(t),t)=f(x,y,z,w); diff(y(t),t)=g(x,y,z,w);diff(z(t),t)=h(x,y,z,w); diff(w(t),t)=k(x,y,z,w) where f, g, h, k are given nonlinear functions.

Then how can i get the phaseplan of (x(t),y(t))? when i use the procedure of DEplot, it returns an error stating that the DESYS requires two or fewer variables? how can i deal with that?

Any help will be greatly appreciated!

I try to put a prefix in front of the Omega unit (ohm). I does not work (see the attached file). The same kind of prefix works for all the other units.
Thanks

June 18 2009
Pio29 8
Hi everybody, I have the following problem:
If I denote by :
He:=(n,k,x)->(-1)^n*(n!)^(1/2)* (GAMMA(n+k+(1/2)))^(-1/2)* LaguerreL(n,k-(1/2),x^2);
and
Ho:=(n,k,x)->(-1)^n*(n!)^(1/2)* (GAMMA(n+k+(3/2)))^(-1/2)*x* LaguerreL(n,k+(1/2),x^2);
Can I compute the series:
sum(He(n,k,x)+Ho(n,k,x),n=0..infinity);
Using Maple.
Thanks

June 18 2009
PhilC 8
Hello all,
I am still quite new to Maple and this website, and apologize if this is an easy task or one that has been already addressed on the forums. I am trying to calculate an adiabatic invariant for a particle orbit. This invariant is the action over one oscillation in the particle's trajectory, and requires me to numerically integrate aspects of the plot in phase space. I calculated and plotted the particle's trajectory in phase space using the dsolve and odeplot commands.
The invariant is given by the expression
\int_{1 cycle} rho' drho

If a student enters/chooses an incorrect answer, can negative marks be given?

*******

Carrie Howells, Instructional Support Coordinator

Mathematics Faculty Computing Facility

University of Waterloo

MC 3054, 519-888-4567 x36272

Hello everybody,

I have a quite complex function and I need to draw its 3 dimension plot. The function is :

Hello everybody,

I have a list of 8 integers and I want to extract all the possible sublists of this list.

For example if the list is L:=[1,2,3,4,5,6,7,8] I want to extract

[1,3,5]

[7]

[2,3,7,8]

etc.

Is there a simple way to do that? Since there are 2^8=256 of such sublists, my idea was to

write a for i from 1 to 256 and convert i to a binary number on each iteration, e.g, i =123

is the binary number 1111011, which would correspond to sub list

here i have four odes

diff(x(t),t)=f(x,y,z,w); diff(y(t),t)=g(x,y,z,w);diff(z(t),t)=h(x,y,z,w); diff(w(t),t)=k(x,y,z,w)

whrer f,g,h and k are known nonlinear functions? Then how can i get the graph of (x,y)near some point,eg (0,0), by the numeric method? Thank you very much!

Hi,
one of our (potential) customers asked me if Maple is able to compute something...um... difficult.
There is a thing called Primal Linear Program, which is given. The customer wants to compute the related dual program in a symbolic way. Is there a Package already implemented for such a thing ? I think it is related to business studies, anyhow.
Thanks

Hello,

Not to be a bother, but I have question about problem solving:

A baseball diamond is a square with side 90ft. A batter hits the ball and runs toward first base with a speed of 24ft/s.

a) At what rate is his distance from second base decreasing when he is halfway to first base?

b) At what rate is his distance from third base increasing at the same moment?

This question is worded strangely so thats what I'm having trouble approaching it, but it has to do with related rates.

Thanks in advance