Maple Questions and Posts

These are Posts and Questions associated with the product, Maple

The following website contains worksheets written in an early version of Maple.

http://www.yorku.ca/marko/ComPhys/

I would like to import worksheets 5.1 and 5.2 and work with them in Maple 2016. Is this possible?

Clicking on the worksheet id, e.g. 5.1, displays an .mws worksheet written in HTML which is not supported as an import format.

I'm currently working on compressing audio files using DCT to remove the frequencies that only contribute marginally to human perception of the sound. To do this, I'd like to do as the attached image describes. Sadly, I'm having trouble plotting the values of the DCT-coefficients as done in figure 6.4 b) and d). 

Any help would be kindly appreciated.

write a maple script to find whether the given function is one one or onto

given a binary sequence of length n ,how many sequence of length n can be generated such that there are no 2 adjacent 0's.

write a procedure to find the permutation of word LEADING considering {E,I,A} together .

 

Hello.

I am solving a problem using the homotopy perturbation problem, I have the code already but I don't know how to fix my f0(eta) = 1 - e^-(eta). f0(eta) is the assumed solution. 

Thanks. 

Download TRY.mw

Why don't these two work?

(f@seq)(i, i = 1 .. 2);
                        f(i, i = 1 .. 2)

(f@add)(i, i = 1 .. 2);
Error, (in simpl/relopsum) invalid terms in product: 1 .. 2

I was expecting f(1, 2) and f(3).

Hi,

Could you please help me in solving this problem ?

  • N is the number of row, about 10^4 in real applications
  • P is the number of columns (about 5)
  • A and B are two NxP matrices
  • C is the Nx(2P) matrix defined by
    • its 2*k-1 th column is the k th column of A
    • its 2*k th column is the k th column of B


What is the fastest and less memory consumming way to construct this matrix C ?

Thanks in advance

 

 

I have a matirx

where ci and si represent cos(θi) and sin(θi), respectively. I need to substitute

What is the right way of using trigsubs command?

 

Why when I write (9b2 - r2 - a2 cos(theta)2)2 maple changes to (r2+ a2 cos(theta)2 - 9b2)2 ? Would anyone know how to block this change?

Thanks!

write a maple script to find the relation on set s is

1)reflexsive

2)symmetric

3)trasitive

 

How do I change my input of variable current, I1, to I, without violating the imaginary unit?

S

 

After waiting about six hours for the worksheet to be executed, I finally lost hope and stopped it. (My CPU usage was stuck on 100% the whole time and I almost ran out of memory) Is this evaluation time normal and should I have waited longer, or is there a problem with my worksheet? (I'm uploading it here) Or is it possible that the equation cannot be solved by Maple at all?

parasitic.mw

I submit a bug through MaplePrimes because I can't do it as usually (Hope some people understand me.). Let us consider

with(LinearAlgebra):
M := Matrix(5, 5,  (i, j) -> (10*i+j)*sin((1/180)*Pi*(10*i+j))):
MatrixInverse(M);
 #One sees a long and wrong output instead of the warning "Matrix M is singular"

Indeed,

Digits := 500; evalf(Determinant(M), 495);
                               
                           1.3 10 ^(-488)   

Bug_in_MatrixInverse.mw

I submit a bug through MaplePrimes because I can't do it as usually (Hope some people understand me.). Let us consider

restart; pdsolve([diff(u(t, x), t, t) = diff(u(t, x), x, x), u(t, 0) = 0, u(t, Pi) = 0]);
pdsolve([diff(u(t, x), t, t) = diff(u(t, x), x, x), u(t, 0) = 0, u(t, Pi) = 0], generalsolution);
u(t, x) = Sum(sin(n*x)*(_C5(n)*cos(n*t)+_C1(n)*sin(n*t)), n = 1 .. infinity)
u(t, x) = Sum(sin(n*x)*(_C5(n)*cos(n*t)+_C1(n)*sin(n*t)), n = 1 .. infinity)

The question arises: what do these outputs mean? I don't see any explanation in ?pdsolve and ?examples,pdsolve_boundaryconditions. What are _C1(n) and _C5(n)? Under which conditions does the above series converge?

Moreover,

pdetest(%, [diff(u(t, x), t, t) = diff(u(t, x), x, x), u(t, 0) = 0, u(t, Pi) = 0]);
                           [0, 0, 0]

I think the above is simply a fake: it is possible to differentiate  a series only under certain conditions.

Bug_in_pdsolve.mw

Please, don't convert my post to a question. This is not correct and fair. Hope some people understand me.

First 922 923 924 925 926 927 928 Last Page 924 of 2250