Maple Questions and Posts

These are Posts and Questions associated with the product, Maple

Hello all

I am new to maple. I am calculating a mutual information for a continuous distribution over a set of five elements. To approximate the continuous distribution I loop over percentage of integers from 0.01 to 0.99 in steps of .01 For five number this is like 10^10 iterations. Given two restrictions p_1+...+p_5 = 1 and p_1 <= ... <= p_5 this is reduced to something less than 10^7 iterations for the innermost loop. Still this process is very slow. (Well...

Hi, everyone,

I am dealing with a simplified model of my real problem. Here is the function definition

f:=(x,lambda)->min(x lambda,0)

I can plot this function in plot3d:

plot3d(f(x,lambda),x=-2..2,lambda=-2..2, axes=boxed)

but if I try to plot the derivitive of this function w.r.t. lambda (which is a discontinuous function) by:

plot3d(diff(f(x,lambda),lambda),x=-2..2,lambda=-2..2, axes=boxed)

I get error message: Error, (in PiecewiseTools:-Convert...

Given Datas:

xd := Vector([0, 25, 50, 75, 100, 125, 150, 175, 200, 225, 250, 500, 750, 1000, 1250, 1500, 1750, 2000, 2500, 3600])

yd1 := Vector([0, 6.24, 11.26, 14.9, 17.58, 20.01, 22.0, 23.56, 24.85, 26.03, 27.36, 35.07, 39.4, 42.61, 44.36, 45.79, 46.62, 46.9, 47.79, 48.85])

Given function: (looks a little different in Maple, but copy and paste did not work)

<maple>F2 := proc (x) options operator, arrow; K2*(1-(T12-Tv2)*exp(-x/T12)/(T12-T22...

Maple seems to constrain pie charts to having only a name, or only a percentage or frequency. I want it all.  I don't want to choose between labels and numbers.

A pie chart like this one would be a good start: http://www.mmsonline.com/cdn/cms/Sandvik-pie-chart.jpg except I want to present frequency as well.

Notice in the example above that the large...

Here's my first attempt at posting some 2DMath on this site.

First, I will paste directly from 2D output in a running Standard GUI Maple session.

BesselJ(0, x)+GAMMA(Psi)-sqrt(abs(omega))

Are the following paragraphs from the new Mapleprimes Style Guide supposed to contain marked up 2DMath or interpreted Maple result, because right now they don't.

See http://www.mapleprimes.com/help/styleguide

"For example, if you enter <maple>x^2/y^2</maple> you will get this image: x^2/y^2

Any Maple syntax will appear, so you can get complicated and enter this: <maple>sum(cos(x^2)/sin(exp(y)),x=1..infinity)</maple>
which then appears as this image: sum...

For fun, I have created a sweet and short small animation procedure, which I must say is one of my biggest programs yet (gasp!) as much as I have played with Maple I should have at least created a few more ... In any case, it is a procedure of a random set of numbers chosen and displayed in a histogram on the left with a running total tallied on the right. It is by no means efficient (but feel free to fix up my code and tweak it a little bit, and let me know so I can learn more...

How can I build an increasing list using a loop?

Something like this

a[1]:= [...]
a[2]:= [...]
a[3]:= [...]

c[1]:=a[1]
c[2]:=[op(a[1]),op(a[2])]
c[3]:=[op(a[1]),op(a[2]),op(a[3])]

etc...

I thought about using a loop but then got stuck

for i from 1 to 3 do
  c[i]:= ???

Hi everyone.

I have been experiencing a problem trying to solve a coupled system of 4 differencial equations, 2 PDEs with 2 ODE.

My problem is that a got a message back as I try to solve the system:

"Error, (in pdsolve/numeric/process_IBCs) improper op or subscript selector"

My first question is: Am I defining the IBCs rightly?

If not, I don`t have a clue on how to solve this problem, I really apreciate some help out here.

Hi friends,
here is a paper from a book, which partiell diff equation I would like to solve with MathCAD or Mathematica or Maple. WHo can help? Thanks  a lot spending your time.  here is the PDF File with the paper

 Hi
first : My English not good,so excuse me.
I have a problem with this:


1)C+Z*(C)*X=D where;

I know D , Z and X are matrix(n*n),(known)
but i can`t find C or Solve (1)finding C(matrix(n*n))

Help Me

Reza

In all versions prior to and including Maple 13 the Histogram default incorrectly displays the data.  Has this been fixed in 14?

eg.

a:=[1,2,3,4,5,6,7,8,9,8,9,7,6,5,4,2,2]

with(Statistics):
Histogram(a,frequencyscale=absolute,binwidth=1)

Clearly the...

I just finished submitting an SCR: the link to spec_eval_rules at the bottom of the ?procedure help page doesn't work in the Online Help (it works in Maple itself, though). And I can't get ?spec_eval_rules to work directly, either, in the Online Help.

Also I was wondering, how about a badge for a certain number of SCRs?

The sample code below generates a message: Error, too many levels of recursion.  It appears to be in the permute function, and seems to be related to variable names I have in my program.  The "error" is intermittent - it appears to work for some but not others eg  aaa:=permute([a,e,i,l,z], mm); does not work but aaa:=permute([e,e,k,n,s], mm); does.  I suspect that it is not liking some variable names in my program.  Any hints or suggestions much appreciated.

How can I animate a plot into another plot?

For example x^2   into  x^3. 
I know this doesn't work but I mean something like this   animate(plot,[x,x=x^2..x^3])

 

First 1812 1813 1814 1815 1816 1817 1818 Last Page 1814 of 2235