MaplePrimes Questions

can anyone help me with code to convert a matrix that is not diagonally dominant to the one that is diagonally dominant

Hi,

check out this deq:

y=2*x*y''

Maple says it's an Emden/Fowler deq with the following form:

Emden_Fowler_ode := x^p*p*(diff(y(x), x))/x+x^p*(diff(y(x), x, x))+x^sigma*y(x)^n = 0;

I tried to change the parameters p,n,sigma so that it describes my deq, but it does not completely fit.
I use n=1,p=0,sigma=-1 and i get

y=x*y''

How do i get in the missing constant 2 ?

 

Maple solves it correctly by the way.

Hi all I see it is very easy to define a simple function in Maple using -> But what if more than a single expression is needed and if local variables are needed ? Is there a way to put several statements and use local variables in a function definition ? For example to define a function that takes a list as it's argument and returns the arithmetic mean or the simple sum. Must such things be done with a procedure ? Thanks !

after differentiating a function that contains a product and summation using a counter i=1,2,...,n and j=1,2,...m    i got a result that contains things like these :-

sum from i1~=1  to  i-1    and  i1~=i+1  to  n

and i had in the function a variable z[i][j]  and in the result it became  z[i1~][j]

what does 1~ means ?

thankx in advance

Hello,

I have a lie algebra, e.g. sl2 or sl3. Elements of these algebra may look like  Qs, where x indicates a Generator of the lie algebra and 's' is a further index. On this latter index there are conditions, for example:

For all x and s with s>1: Qs = 0.

In addition, under the lie algebra commutation relations, 's' behaves for example as:

[ Qs, Qr] = Qs+r.

 

Hi,

So I followed the exact example as in the Maple help for "Matlab[evalM]" which is reproduced below (with my result, which is nearly identical to that in the help example)

Consider the identity 4*cos(theta)^3-3*cos(theta) = cos(3*theta). Does maple know about it, or how to prove the identity, which is true by deMoivre's formula, with maple? The trig option for simplify seems not enough. Thanks.

How can I assign all diagonal elements to 1 for a matrix ?

Hi all I have > tst:=-(1-cos(p))/p^2+1/2*cos(1/4*p)^2*cos(1/8*p)^2*cos(1/16*p)^2: >plot(tst); which seems to work OK. However, this generates an error plot(tst,Pi..2*Pi); Warning, unable to evaluate the function to numeric values in the region; see the plotting command's help page to ensure the calling sequence is correct Plotting error, empty plot ...as does any other range I have tried. I guess it's something very simple, but if someone can point me in the right direction I would appreciate it !

I want to find a way that which results in that all variables in a procedure becomes local

ie  X:=proc() local All

I find it tedious having to specify all the local variables individually 

ie  X:=proc() local A,B,C,w,e,r,t,y,u,ui,io,w,,u,i,o.....eternity

I am attempting to obtain the analytical form of the integral of [exp(-cx)]/[a^2+x^2]^1/2 with respect to x.  Unfortunately, this form does not appear in any of the indefinite integral tables that I have been perusing.  I am attempting to utilize MAPLE but it simply outputs the integral in symbolic form & does not generate the actual function.

Anyone have any leads where I might find the correct form of this integral or how to get MAPLE to cooperate & generate the expression form me in a form that is inddtuitive???

 

Having been trained as a computer programmer, particularly in an Object-Oriented orientation, my inclination when declaring a variable is to add a line of documentation to it.  In C++, Java and other ASCII based programming languages this is oftern done with JavaDoc, Doxygen and other notational sytax in the comments.  For example:

the error is:  Error, (in PDEtools/_zn/get_zn) too many levels of recursion
 

and the detail is in the additionView 13857_2010.01.04.mw on MapleNet or Download 13857_2010.01.04.mw
View file details

why I can not get the result, how to solve it ?

Thank you.

I'm very new to maple and I've been experiencing a few difficulties. One in particular is quite frustrating: when opening a worksheet in classic worksheet mode I get a message that it was created in an earlier version, and after clicking OK maple crashes. For example, with the document here: http://www.maplesoft.com/applications/view.aspx?SID=1404 I am using Maple 12. This problem does not occur in standard gui mode, only classic worksheet mode but for a variety of reasons I wish to use classic as much as possible. Thanks
Hi all Given the relation, x sin(xy)=x , and wishing to find dy/dx by implicit differentiation, the easiest and most obvious way is to cancel x and then arrive at the answer dy/dx = -y/x: > implicitdiff(sin(x*y)=1,y,x); - y/x (assuming x is not equal to 0 of course) But, what if we try this: > implicitdiff(x*sin(x*y)=x,y,x); sin(x y) + x cos(x y) y - 1 - ------------------------------- x^2 cos(x y)
First 2056 2057 2058 2059 2060 2061 2062 Last Page 2058 of 2434