Maple Questions and Posts

These are Posts and Questions associated with the product, Maple

My attempt to export array data using the Browse>Export option when looking at the data fails to work as needed.

The exported data always start in cell A1 of the Excel worksheet even a different starting cell is entered into the Matrix Browser export window.

In summary, my experience is that the Matrix Browser matrix export in Maple 16 and Maple 17 ignores the information about the intended starting destination cell in the Excel file.

Does anyone find that the Matrix Browser exports to a starting Microsoft Excel cell other than A1? 

This exporting with Matrix Browser worked find in Maple 15.  It has been broken in Maple 16 and 17, including Maple 17.02.

Thanks.

 

Hello every one,

I am facing problem with for loop. Please have a look.

 

let say I have T[0]:= 99 ; X[0]:=0; f(x):=108 + 2 x

  for i from 1 to 2 do f(x[i-1] ):

                              y[i]:=x[i-1] +1 ;

if f(y[i])<f(x[i-1]) then x[i]:=y[i] elif 0.98< e0.99/T[0]  then x[i]:=y[i] else x[i]:=x [i-1]

end if;

end do;

after I got the answer from this loop, now I want to continue the loop for T[1]:= 0.1 T[0], 

 how  to do another loop by using the same  information but in different value of T? in other words, the only change in the looping is the value T so that the next loop I have the set of answer.

thanks.

 

 

I am struggling to get a single output value for my piece wise function. I am trying to plot this piecewise function. All the B-values and L value are previously defined.

My end goal is to plot the function.

Unfortunately, I cannot get the piecewise function to output a single value. I have tried s(2) which gives me the entire piecewise function with the correct numbers plugged in.

 

Here is the file in its full form.

damshw9.mw

I am getting an error dialog when I try to Browse an array I created programmatically.  The title of the dialog is RTable Browse Error with and error that says Empty RTable Structure. 

 

Now the data is 0..20 x 0..1 Array Datatype :anything Storage: rectangular

Order: Fortran_Order. 

 

If I do a showall, I can see the data, I just cannot browse it.  Any help would be appreciated.

Code is:


for i from 1 to N do
 t:=h*i:
 X[i,0]:=x1+h*(-x1)*x2+x1:
 X[i,1]:=x2+h*x1*x2-x2:
 x1:=X[i,0]:
 x2:=X[i,1]:
 print('Iteration',i,'AtTime',t,x1,x2)
end do;
print(X);

Thanks

Melvin

 

 

I am to program a computation on maple.
But I get the message :

Error, unable to match delimiters

followed by the full sequence of command.

 

How can I do to fix this problem?

Hi everyone, I'm trying to find the value of f but I always have this error message : Error, (in BesselJ) too many levels of recursion.

Here is the function:

f(t)=BesselJ(0, t)+int(BesselJ(0, x)*f(t-x), x = 0 .. t)

 

Is there any way that I can isolate my f without having to rewrite the equation using laplace transform properties?

Thanks,

Frank

I am trying to solve a nonlinear second order ODE with a parameter to be determined. I can set up most of the problem but I am having trouble trying to tell the computer the following boundary condition,

 

diff(f(x),x) = -K on f(x)=0.

 

(K will be inputted and is not to be solved for) As i said before, the other boundary conditions are fine and the numerical solution works if i use different boundary conditions. 

 

For other boundary conditions (for example df/dx = 0 at x=0) I write in the form 

D(f)(0)=0

 

I hope this makes sense and someone has a solution. Thanks in advance.

 

Matt

I'm using Maple 17 to seperate a large set of equations. I used selectremove command but the problem is it cannot return to zero when I select a varuable whish is not appear in this equation (it's showed on the figure below)!
Thanks!

Hi All,

 

I tried to convert the following hypergeometric function into BesselJ function. But I failed to do so. Could any one let me know the  reference or procedure to convert the Hypergeom function into bessel function.

 

Following is the integral I am intended to do.

Result:

I need to convert the result into equivalent bessel function.

 

If at all there is a way to co-relate the generalized corelation between bessel function <-> hypergeom function.

 

Direct me to any books you come across.

 

Thanks

 

I need help writing a function which takes a number of integers (which are greater than or equal to 2) and returns a list where the nth entry in the list is given by the number of arguments which can be expressed in the form of x^n where x is an integer. The function must also disregard all of the terms after the final integer greater than 0 is produced ie does not show 0, 0, 0, 0, at the end of the list.

Eg if f was the function f(27) = [1,0,1]

f(2,3,4,9,81,1024) = [6,4,0,1,1,0,0,0,0,1]

I'm in desperate need for help!! For an assignment, we were asked to "write out our first and last names" in maple, using correct upper and lower case letters. I am clueless on how to approach the assignment. Is there anyone that could help me?

Hello,

I am using Maple Physics for symbolic tensor computations. However, I fail to simplify quite a simple expression.

Consider the following code:

    with(Physics):with(Library):

    Setup(spacetimeindices = lowercaselatin):

    Define(F[a]);

    read "example2.txt"; 

    Simplify(%);

Here is a file with expression: example2.txt.

The expression in the example2.txt is equal to zero. The following steps allow to obtain this result: expand, contract Kronecker deltas and metric tensors and collect similar terms. This also can be verified using another software (Cadabra, Mathematica xAct, etc.). As one can see, the result of Maple Simplify(%) contains terms like -462661905780*F[k]*F[~k] - 5856479820*F[m]*F[~m] which can be futher simplified, but Maple does not do this (even when I invoke Simplify(%) several times).

What is the right sequence of manipulations needed to obtain zero?

I use the latest Physics package (39.2, updated on November 30).

Thanks,

Dmitry.

I created a interactice slider and graph (Parabolas_In_Vertex_.mw)and want to have a title to display the actual equation being graphed. plot(x^2,title="Graph of")where graph of is, I would like it to say "graph of ax^2. with a being the value of the slider. I have inserted a title and put the following code in, but it does not work:

display( [

'title' = typeset( "Graph of ", y = %Slider*x^2),
'titlefont' = ["Times New Roman", 'BOLD', 14]]
);

This was put in the edit click action of the title. Any help would be great. I have looked everywhere and can't seem to find the answer. I can send you my file if you would like to look at it.  

how to find lie group or finite group or symmetry group of one differential equation or system of differential equations

Let a convex polygon, for example Q:=polygon([[0,2],[1,4],[4,4],[5,1],[3,0]]), be given.
How to find the disk of the biggest radius which is contained in Q?
How to find the disk of the smallest radius which contains Q? Of course, with Maple.

First 1392 1393 1394 1395 1396 1397 1398 Last Page 1394 of 2224