MaplePrimes Questions

The question is to find principle argument of the 5 roots of the polynomial z^5-5*z^4-z^2-2 

I used the Maple command:

Solve(z^5-5*z^4-z^2-2);

evalf(%);

argument(%);

But the Maple told me that expecting 1 argument but got 5.

I want to find all the argument and then use Max command to find the principle argument...it's doesn't work

Another similar thing is to find the moduli of a 5 roots of the polynomial z^5-5*z^4-z^2-2 

I got the same error as previous one ..

Can someone help me out ?

Cheers.

The question is to fin limit (n^1.5)*sum of 2*k/(2*k+3) k=1 to n as n goes to infinity 

I got the answer is float infinity...

How can I get a correct answer ?

Can someone help me out .

Cheers.

 

The question is to find integral of [e^(-x)*sin(x^2/)]/(2+x) from x=1 to infinity.

I typed in Maple and used evalf(%) 

But I got a float(infinity) on the upper limits instead of a correct numeric answer...

Can someone help me ?

Cheers.

1. Where do we report potential bugs

 

2. My finding:

https://imgur.com/a/w688r

The image uploading on this forum is not letting me and I find it to be less user friendly. Please view the sequence of images in the given link above.

This is not a problem, just my finiding.

 

applyrule(a::integer = 0, x = 1);
                             x = 1

applyrule(conditional(a::anything, a::`=`) = 0, x = 1);
Error, (in PatternMatching:-AlgStruct:-TableLookup) testing against an invalid type

Why doesn't applyrule do a replacement inside (x=1) and why is `=` an invalid type?

 

type(.5, rational);
                             false
is(.5, rational);
                              true
is([.5], list(rational));
                             false

is(.5, rational) seems to be the odd one out.

 

Hello all,

I have a vector with 3 rows and each row is an equation with 2 variables.  What I am wanting to do is simplify based on the leading coefficient of one of the variables to make the equation a monic polynomial wrt that variable, primarily because it will allow me to quickly check the eigenvalues of the system.  Here is a basic example of what I want to do:

2*x+1 --> x+1/2

Any ideas? Ive tried combinations of simplify, factor, and collect and have gotten nowhere.

Hello everyone,

I need to expand this:

>abs(u+v)^2+abs(u-v)^2

so I have as a final expressioin

>|u|^2+|v|^2=1

This is the property that has to be true so the probability is one.

>assume(u::complex, v::complex);  does not work and the simple commande

>expand() neither.  Any idea?

Let us assume we have a square matrix $A$ with known entries. We know the system is asymptotically stable by inspection of the eigenvalues, hence we know that the Lyapunov equation

A^TP+PA=-Id

will have a symmetric matrix P as a solution with Id being the identity matrix. How can I obtain the entries of the P matrix? I have tried the following code but was not able to solve for the entires of the P matrix.

 

I would be happy if someone could share a solution to this problem.

gc();
restart:

with(LinearAlgebra):

A := <<a__11|a__12>,<a__21|a__22>>;
P := <<p__11|p__12>,<p__12|p__22>>;
Id := <<1|0>,<0|1>>;
eqn := Transpose(A).P+P.A = -Id;


 
 

I am having a problem with image tools read a file from workbook.

In one document i get

Read("this:///101-Escher.bmp");
Error, (in ImageTools:-Read) unable to open database file

In another document I cant save the file. 

Please find my error in the doc which produces outputlines always. Is there any otherway (other than view -  show contents and uncheck output which hides all other outputs as well in a programm) by commands, which can suppress these output lines.

Also is there any other way of giving continuously varying inputs (and visible in RotaryGauge ) like sin wave form (0 to 8 to 0 in a period) ?

                                                                                         
with(DocumentTools); for i to 12 do SetProperty("RotaryGauge0", value, 6); SetProperty("RotaryGauge1", value, .66*GetProperty("RotaryGauge0", value))*time*[]; 3^100; GetProperty("RotaryGauge0", value); SetProperty("RotaryGauge0", value, 4); SetProperty("RotaryGauge1", value, .7*GetProperty("RotaryGauge0", value))*time[real](); 3^100; SetProperty("RotaryGauge0", value, 2); SetProperty("RotaryGauge1", value, .5*GetProperty("RotaryGauge0", value))*time[real](); 3^100 end do

515377520732011331036461129765621272702107522001

(1)

``


 

Download varying_input.mwvarying_input.mw

?

Hello,

I am trying to do parallel computing by using task programming. In the attached file, I am having the following error:

Error, (in generate) type 'sizeType' does not exist.

The error comes out only when the size of the computation is large enough and so the Threads piece of my "generate" function is run.

Could you please help me to understand what is wrong?

Here is the link to my .mv file: 0927.mw

Thanks.

 

I would like to remove asterisk * from a string....

such as...

a:=2*x-5:

withoutstar:=StringTools[Remove](*,convert(a,string));

Any ideas would be appreciated???

Dear All,

I am trying to formulate and solve a linear system of equations to determine the 15 unknowns (link to the script below.) The funcion solve does not seem to return a vlaue due to the lengthy and complex nature of the equations neither do linsolve or LinearSolve. I am wondering whether there exists an argument of another trick that can be employed in order to tackle with such complicated systems. Any help or hint is highly appreciated and desirable.

Thank you,

Bests

Federiko script: SolveLinearSystem.mw

 

I have a functional equation in 2 variables, and I want to write its solution(s) as (Puiseux) power series. When the order is relatively big, the output appears not in the increasing order of powers. For example, I execute 

map(allvalues, algeqtoseries(P, t, u, 60, true))

and get as one of the solutions

O(t^(65/3)) + 13*t^9*(1/3) + 2*t^5*(1/3) + 115*t^15 + 37*t^13 + 5*t^7*(1/3) + 37*t^11*(1/3) + (1/3)*t^3 + 11836*t^21*(1/3) + 1193*t^19 + 1100*t^17*(1/3) [...]

What should I do in order to get the series with terms appearing in the increasing order of powers of t?

Thanks!

 

First 807 808 809 810 811 812 813 Last Page 809 of 2308