MaplePrimes Questions

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...

Hello,

I have made a model in classic maple of a mechanical system. But, as this model is a a model of a kinematic closed system, it leads to DAEs equations. Consequently, i need to use specific tool to solve my DAEs.

I know that MapleSim can solve this kind of problem.

So is it possible to use numeric solver used in MapleSim in classic Maple to solve my DAE equations ?

How can i do to call this solver from classic Maple ?

Thank you for help.

here it is. sorry, at the top of the first sum, it's N1+N2 not N1+N1  :p    I tried many times, but can't succeed. the C is the combinasion, I also wrote it as

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

My test file containes 6 lines (Codepage 1251):

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

Hello,

I have used classic Maple for some years but it's the first time, i use MapleSim.

So, i wanted to simulate a model given in the tutorials : the 2DRigidSliderCrank.

I launch the simulation but i receive this error message: 

Do you know what is the matter with this code ?

What do i need to add to be able to simulate this model ?

===========================================================2DRigidSliderCrank==========================...

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.

 

Hi,

I am having some problems when solving NullSpace when the matrix is somewhat 'complicated'.

Maple seems not able to find the nullspace.

Any hints or possible workaround?

Casper

 

nullspa.mw

First 1580 1581 1582 1583 1584 1585 1586 Last Page 1582 of 2458