Maple Questions and Posts

These are Posts and Questions associated with the product, Maple

How do I define a distribution with an arbitrary mass function so it can be used exactly like those predifined, e.g., Statistics:-Mean(Poisson(lambda), Statistics:-MGF(Poisson(lambda),t), etc? As an example, Rademacher distribution can be used, or its straighforward generalization with probability of +1 being equal to p and that of -1 equal to 1-p=q. Thanks.

hi all...i want to write a procedure just to execute a set of maple commands without any input args e.g do some calc and plot series of graphs..i am facing 2 problems

1.inside procedure all lines are not  displayd only last line of command inside the proc is diplayed after execution

2.im choosing a proc to exec a series of commands because i can use the debugger to debug the set of codes else i cannot.

I would like to change the way arrows looking Maple under fieldplot3d. Particularly I would like them to have a rounded head and a simple stick for the base of the arrow. Anyone know how to do this? I have seen it done before, just not sure how to implement the code to do it. Thanks in advance!

I'm using maple to optimize a certain problem. I have two matrices, A and B both of size m by n. Now I want to maximize alpha(a scalar) such that Bx>=alpha*Ax for arbitrary x. So I gave maple the following problem: input:=evalm(A&*X): > output:=evalm(B&*X): > for i from 1 to m do > constraint[i]:=output[i]-alpha*input[i]>=0; > od: > Constraints:=seq(constraint[i],i=1..m); > sumconstraint:=add(x[i],i=1..n)>=10; oplos:=NLPSolve(alpha,{Constraints,somconstraint},maximize=true,assume=nonnegative); My problem is that maple sometimes can't come up with an answer and tells me:

Given "(x + y/z)" as input, how do I get the same expression in the form of "(xz+ y)/z". I need to make this conversion, so that I can discard  the denominator and use the numerator "xz +y" as a monomial in Groebner Basis.

Does Maplesoft has an online version of Maple's user manuals? I know there are pdf versions. Thanks!

Hi:

I will really appreciate it if I can get some help with evaluating 2500(1+ r/4)^(4*5) with r taking multiples values such as 6, 10 etc.

So far I am aware of the basic eval command... eval(2500(1+r/4)^(4*5),r=6). What I want to do is evaluate this expression for multiple values of r. Thanks in advance!!

 

-- k

I'm trying to graph nonlinear systems of inequalities.  INEQUAL works only with linear systems.  Someone in this forum suggested IMPLICITPLOT with the option FILLED = TRUE, but this doesn't always give the desired results since that option only gives the area between the curve and the x-axis a solid color.  What I need is the power of OPTIONSFEASIBLE, OPTIONSEXCLUDED, OPTIONSOPEN, and OPTIONSCLOSED (options available with INEQUAL) that will work with nonlinear inequalities.
 

Alla

Hello,

I use Maple 11 and I created a procedure (call it MyProcedure), which ends

> display([seq(r||Index, Index=1..NumberOfIterations)],insequence=true);

Futhermore I have a maplet with

> Plotter['PL1']()

and

> Button['BT1']("Draw", width=90, onclick=Evaluate('PL1'=MyProcedure(.....)))

This works ok. Result is displayed in the plotter. However I would like to add other buttons, which will work with this animation. I mean to use functions like Play, Stop, Next Frame, etc. How can I do this?

Very often I have to insert map(assume,[k,lambda,L,...many others...],real) in order to simplify my expressions.

As a simple example, compare Re(exp(I*k*x)) assuming k::real,x::real; to the result without assuming.

So I'd like a procedure/command that makes Maple assume that every symbol in an expression is real but not the expression itself.

<p>hi,</p>
<p>i tried to write a maple procedure that creates a prefix free tree based on the algorithmen of Shannon-Fano. the theory how the algorithm works is easy but for translating that into a maple procedure causes me headaches.</p>
<p>right now im stuck in the part where i have to split the characters i got until i only have one left. i suppose until that point my procedure might be ok but i how do i continue now? i lack the maple know-how to get further now....and i suppose i did already things wrong because i don't know how to save my nodes</p>

integration {(x + 1) / x dx}

Hello, I'm trying to find a function f(r,r') such that G(r,r')=1/(r-r')+f(r,r'), where r=sqrt((x-x')^2+(y-y')^2+(z-z')^2). I have 6 boundary conditions of the form: G(x,y,a)=0, G(x,y,-a),=0, G(b,y,z)=0, G(-b,y,z)=0, G(x,c,z)=0, G(x,d,z)=0 where a,b,c,d are known constants. How do I do that in maple? Thanks
Hello, I'm trying to find a function f(r,r') such that G(r,r')=1/(r-r')+f(r,r'), where r=sqrt((x-x')^2+(y-y')^2+(z-z')^2). I have 6 boundary conditions of the form: G(x,y,a)=0, G(x,y,-a),=0, G(b,y,z)=0, G(-b,y,z)=0, G(x,c,z)=0, G(x,d,z)=0 where a,b,c,d are known constants. How do I do that in maple? Thanks
First 2047 2048 2049 2050 2051 2052 2053 Last Page 2049 of 2234