MaplePrimes Questions

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

how should i plot from the results of the desolve? i know i should use output=listprocedure,but i do not know how to use it. thank u,
i also have another question? what is the problem with my equations that have singularity ? i used maxfun=0 and stiff=true, but it does not make changes? should i change the initial conditons?maple.mws 

Hi all,

I 've been using Maple 13 and recentely upgraded to Maple 17. But the following code yielded correct results in Maple 13 but not in Maple 17( gives an error: there is no taylor series expansion, try series).

I think there is some bug or some problem with "mtaylor" of Maple 17. Can anyone verify this?

CODE:

=================

> restart;
> with(VariationalCalculus);
>
> interface(prettyprint = 3);
> with(LinearAlgebra);

Hello to you all. Pls. i just want to ask you guys about which package in maple can I use to solve nonlinear ODEs Also, can I use the Newtons Method?

Iwould like to calculate the inverse laplace transform of the expreesion which I call T.

< T:=tanh(s):

To do this I use the code "invlaplace" to solve it.

<invlaplace(T,s,t)

But it returns "invlaplace(tanh(s),s,t)".Done nothing.How to get its mathematical expression? I am really interested to get it.

PLZ help me in anyway as you can as I am completely stuck.

I wrote a procedure which rounds floats to a specified precision. I would like to apply it to a Matrix/List/Array/Vector that contains non-numeric cells as well as floats. I'm stuck at the type-checking stage.


# Round0 works on floats and lists and Matrices of floats:
restart;
Round0 := proc(x,n::integer:=1)
   parse~(sprintf~(cat("%.",n,"f"),x));
end proc:

Round0(1.23456789);
1.2

Round0([1.23456789,9.87654321],2);
[1.23, 9.88]

I would like to recolor a list of plots using Maple default values. I have produced a list of colors with the plots:-setcolors(default) command. However, the colors are returned as a list of Hex values.  I first converted the Hex values to RGB values and then attempted to adapt a procedure written by Joe Riel, named -recolor- (refer to Joe's answer from which this question is branched).

But I must have done something wrong.

The conversion from Hex to RGB...

First 1556 1557 1558 1559 1560 1561 1562 Last Page 1558 of 2434