Maple Questions and Posts

These are Posts and Questions associated with the product, Maple

 

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]

valsCf := [0.5e-2, 0.4e-2, 0.3e-2, 0.26e-2, 0.23e-2, 0.21e-2, 0.2e-2, 0.19e-2, 0.18e-2, 0.175e-2, 0.15e-2]

 

Another issue is in "surface fitting". Graph shows propeller efficiency curves. I'd like to get equation of surface spread on those curves.  Axis x is an angle, axis y V/nD and z is efficiency.

Again using spline/bspline approximation is nesssary to get accurate results.

I will use this efficiecny surface function equation in drive optimization .

 

Is creation of such surface/function  possible in maple.

 

Thank you in addvance for your help.

Smagliczka

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 just noticed that in Maple 12 (and 13) the Layout palette's subscripted atomic identifier entry had its hover-over tooltip changed. By hover-over I mean the text based tooltip that appears after a slight delay when the mouse point is allowed to hover over the entry.

In Maple 11 it showed as subliteral which, while perhaps to entirely clear to everyone, was at least accurate. It meant: the unique subscripted name.

For example, x-subscript-y, as a subliteral...

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
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

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

hi all,

                            I  have a program written using Matlab, how can I change it into a program written using Maple.

the program:

% THE
% MATLAB

function [xmin, fxmin, iter] = PSO

%%%
success = 0;      

First 1917 1918 1919 1920 1921 1922 1923 Last Page 1919 of 2219