Maple Questions and Posts

These are Posts and Questions associated with the product, Maple

what is the difference between using DEtools forexample bernoullisol and dsolve directly?

I have a maple document with a few dozen plots. I am using the code

plotsetup(ps,plotoutput="C:\\plot.eps"); plot(x^2,x=-1..1); plotsetup(window);

to save the plot as an eps file. Is it possible to alter this code to save the file as a pdf? I've tried changing ps to pdf, but this doesn't seem to work. Thanks!

Hi I want to obtain the inverse of the following cumulative function: F(x)=1/n ∑_(i=1)^n(1-e^(-β/h (x-x_i-γh) ) )

Is it possible to print an asterisk in a superscript? For example, the plot

plot(x^2,x=-1..1,tickmarks=[[1/2=x^*],[1='a']]);

has x^* at the tickmark x=1/2, but I'd like it to be x*

 

Thanks!

Is it possible for tickmarks to be different colors? For example, say I'm working with the plot

plot(x^2,x=-1..1,tickmarks=[[-1,-1/2,1/2,1],[]]);

Is there a way to make the tickmarks at x=-1/2,1/2 red while making the tickmarks at x=-1,1 blue?

Or, alternatively, is there a way to turn the tickmarks at x=-1/2,1/2 into red subticks and make the tickmarks at x=-1,1 blue?

Thanks!

I woud like to have some help in using Maple to solve some complicated integrals.Specificaly, I would like to take the help of maple in differentiating an integral w.r.t. a parameter.

First, I will start with an integral for which Maple gives a solution. Let me first start with the assumptions :

Hello,

 

I seem to be having trouble with the define_external command.

 

I want to call a C-library from maple, and I think I need to convert the maple data in C. So I need a custom wrapper.

 

But I can't get the simple example from here to work for me. Specifically, I tried this:

 

I am having trouble getting an algebraic solution for a first order four-ODE system. The problem seems trivial to me. However, Maple is taking a very long time to solve it. The system describes a reversible "chemical" reaction that have 4 states. Basically, the system is

C1<->C2<->C3<->O1

where the rate constants are ai towards the right and bi towards the left.

Any suggestion will do.

Thanks!

Hello all,

 

I have a question about converting a continuous piecewise function to Heaviside function, which the function includes trunc() in its conditions.

(I found differentiating piecewise function gives me "undefined" at boundary)

 

When I do that operation (convert(piecewisefunc, Heaviside)) I get the error below.

"Error, (in piecewise/simprootsstep) cannot determine if this expression is true or false: 0 < 183.3333333*Pi"

In the simplest case I could find of this...

 

How do I get Maple to simplify: sqrt(x.y)/x.y  to  1/sqrt(x.y)

?

 

If I remove any one of the 4 factores out of the equation above, it will just do it, but with the 4 together I just can not get it to give it to me in a "sensible" form.


Tx

 

Max

Hello,

 

suppose I have a huge polynomial in several variables, say x, y and z, with some unknown coefficients:

 

(a*b+1)*x^3+(a+b+1)*x^2*y^2+(a-b^3)*x*y^2+a*y^10

 

Is there an efficient way to obtain all coefficients, when interpreting this as a polynomial in x and y?

(My goal is to make maple solve the equations in a and b  in order to let the polynomial be identically zero)

 

Many thanks!

Dear Maple users

I am looking for easy ways to manipulate lists. Especially I want to take a list of lists, say:

[[1,3], [5,8], [9,2], [5,12]]

and create a list of the second components:

[3,8,2,12]

Another problem: How do I collect every second element of a list, say:

[4,2,-1,9,5,6,2,0,14,7]

creating [2,9,6,0,7].

I can do it with loops, but I guess there is a smarter way to accomplish these tasks. I was looking...

I noticed, that FileTools[Text][ReadLine] cannot read Cyrillic letter "я" in text files.

My test file containes 6 lines (Codepage 1251):

 Николай Петрович ТРУБЛАИНИ
 "ЛАХТАК"
 Ч А С Т Ь П Е Р В А Я
 НЕМОЙ ПАРОХОД  Г л а в а I
 Ветер налетел неожиданно. С неимоверной быстротой запенились волны. Они приближались к пароходу, стоявшему в миле от берега. Между реями мачт и в надстройках...

Hello everyone!

I have a small problem with setting of name's variable by using for do loop!

Small description of the issue: i have a loop which looks in that way:

for k from 1 to 4 do

y'k':=Matrix[a,b];

end do;

Еventually i want to have, for instance, four matrices with different filling but ranged from 1 to 4:

y1:=...

y2:=...

...

Especially i want to see names of the variables in the abovementioned way i.e. y1 and not y[1]!

I tried the following, but did not get 0. Why not?

>restart;

>b:=3*beta*Pi*(3-4*cos(z)+cos(2*z))/(16*z);

>-b+sqrt(b^2)

 

I know I can do this by hand, but this is part of a larger equation which I narrowed down to this issue.

 

First 1436 1437 1438 1439 1440 1441 1442 Last Page 1438 of 2224