MaplePrimes Questions

Search Questions:

Latest Questions Latest Questions Feed



There is a problem which I feeling very puzzling, it is not the codes, but about when running the codes. It seems that if I running the codes immediately (or use "run all the worksheet" ), an error returned unexpectedly, but if I wait a few seconds before rerunning the code which just causes the error, a correct result returned. I feel very...

When I am trying to write the data of the following program in a datafile
eq := (diff(G(eta), `$`(eta, 2)))/Pr-2*n*b*eta*G(eta)+(a+(1/2)*b*eta*eta)*(diff(G(eta), eta))

> A := {x=0, y=0}:

> B := {x=0, -y=0};

> {A} union {B};

{{x=0, y=0},{x=0, -y=0}}

How to get Maple to realise that A and B are actually the same so that "{A} union {B}" would return "{{x=0, y=0}}" instead of above?


Thanks in advance.

How to join expressions in the set, for example to convert the set {y=0, x>-1, x<1} to {y=0, -1< x <1}?

Thank you in advance.

Hi all,

when drawing a geometry.line object by using geometry.draw, the default for each axis is -10..10, so that I cannot see in the plot, for example, the line y=11;

How can I extend this range?


Best regards


I want to plot a bunch of straight lines with positive slope in one colour, and I want to plot a single line of negative slope in another colour.

I hope my code is self-explanatory:

restart; with (plots):
for i from 1 to 5 do;
 [y - x = 1, y - x = 2, y - x = 3, y - x = 4, y - x = 5]
implicitplot([op(myEqns), y+x=0], x=-10..10, y=-10..10, colour=[red,blue]); 

Dear all,


I am a beginner at Maple. A friend of me has told that Maple can solve analytical solutions.

In other words, I want to combine three equations ( a linear system)  in order to conclude to the final solution.


Has Maple the ability to solve analytically a linear system of 2 or more equations? 

Thank you very much in advance.


Kind Regards


I'm trying to have Maple work through ideas involving the Fundamental Theorem of Calculus, and am encountering a problem with the programming of Maple.

I begin by defining a function like:

F(x) := int(x^2,x)  (or equivalently, F:= x -> int(x^2,x)  )

Then I ask Maple to evaluate F(2).  I expect to get 8/3 but instead I get this error message:

Error, (in int) integration range or variable must be specified in the second argument, got 2

even if I use a simple x^2+y^2 plot I get these funny gaps at the botom of the plot. I have looked through the FAQ files and can't seem to find a solution to it... is there one ?? from what I have seen so far there does not seem to be an easy solution. with a graph like the type above to change to coords=spherical or cylindrical does not show the same graph due to that change.


I tried to implement an small example sheet for using the RSA algorithmen with small numbers. Unfortunatly, I get confused by my own program and have difficulties to figure out what I am doing wrong. My message can be decoded with both keys, the public and private key what is obviously not correct.

below is my code with some comments:

restart: with (numtheory):
p := 13; # my first prime number
q := 23; # my second one

n := p*q;

I am of interest about using StateSpace(de, invars

Hi all,

How can I plot, say, y1=x+4, 0<x<5 and y2=2x+1, 0<x<10 on the same plot area?

Thank you,


I want to construct a sequence of diffenrential equations with


but I get

0 = k[1]*f[1], 0 = k[2]*f[2], 0 = k[3]*f[3], 0 = k[4]*f[4] 

Is there anyone can tell me what I have done wrong? Thanks a ton!! 

This is my situation, please help me.

Cargando  MathematicalFunctions

Cargando  PDEtools

> with(DEtools);
> restart; m[1] := 1; m[2] := 1; l[1] := 1; l[2] := 1; g := 9.8; w := 1; ec1 := (((1/3)*m[1]+m[2]+w)*l[1]^2+((1/3)*m[2]+w)*l[2]^2+(2*((1/2)*m[2]+w))*l[1]*l[2]*cos(beta(t)))*(diff(alpha(t), t, t))+(((1/3)*m[2]+w)*l[2]^2+((1/2)*m[2]+w)*cos(beta(t)))*(diff(beta(t), t, t))-(2*((1/2)*m[2]+w))*l[1]*l[2]*sin(beta(t))*(diff(alpha(t), t))*(diff(beta(t), t))-((1/2)*m[2...


How to load Maple-NAG connector to execut this example ?

Is it an additional program to install ?

n := 4:
nnz := 11:
la := 22:
lfill := 1:
dtol := 0:
pstrat := "Nag_SparseNsym_CompletePiv":
milu := "Nag_SparseNsym_UnModFact":
a := Vector[row](la,[1.0,1.0,-1.0,2.0,2.0,3.0,-2.0,1.0,-2.0,1.0,1.0],datatype=float[8]):
irow := Vector[row](22,[1,1,2,2,2,3,3,4,4,4,4],datatype=integer[kernelopts('wordsize')/8]):
icol := Vector[row...

First 774 775 776 777 778 779 780 Last Page 776 of 1327