Maple Questions and Posts

These are Posts and Questions associated with the product, Maple

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.

This blog will contain postings documenting some of my mathematical travels. In particular it will chronicle my experiences and problems in learning maple and the mathematics I am studying along the way.
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)

(1 2) (23)=(1 2 3;2 1 3) (1 2 3;1 3 2)=(1 2 3;3 1 2)

how to calculate this ?

 

Hi,

How can we do sth like the below example:

L:=[1,2,3,2,4,6,5,0,9,0,3,4,4];
number of elements greater than 1 and smaller than or equal to 3

ans=4

for example

VerticalBar∣ VerticalLine

∈ this can be got by "in",and "Element" with Command Completion

I don't know why they are the same,but both appear in the same pallete or different pallete.

I would like to know if it possible in Maple 12 to efficiently compute recursive procedures with two variables.

A simple example would be: f(a,0):=1 for all a>=0, f(0,b):=1 for all b >=0 and f(a,b) :=f(a-1,b) + f(a,b-1) for

a>0, b>0 (which defines the binomial coefficients). In trying to do this in a straightforward way i get

the error message "too many levels of recursion". Using 'trace' I see that Maple doesn't seem to be

creating a remember table for functions of two variables. Am I missing something?

If you highlight words that are above or below one another on an adjacent line, the highlighting does not highlight properly. 

 Can any one help me?  please see the attached maple file.

ThxDownload 10597_aa.mws
View file details

 

 

I have a system of 14 dae that I solve using method=mebdfi but when it comes to extracting numerical values and plotting my solution I get stuck.

The error I get is Error, (in unknown) unable to integrate past 0.36509631e-3: convergence could not be achieved with stepsize at minimum

Hello,

I'm looking for a simple way of building a matrix W whose columns will be column vectors w[1], w[2],...w[h] where h=1..r. I want to be able to incorporate this into a procedure in which h might be varied (otherwise I would just build a matrix e.g. <w[1] | w[2] | w[3]> manually).

Thanks

Magdalena

I input

w := proc (x, theta, t) options operator, arrow; sin(m*Pi*x/L)*cos(n*theta)*exp(I*omega*t-I*g*x) end proc;l[1] := (D[`$`(1, 2)](w))(1, (1/3)*Pi, 2)+(1-sigma)*(D[`$`(2, 2)](w))(1, (1/3)*Pi, 2)/(2*R^2)-K*rho[C]*h*(D[`$`(3, 2)](w))(1, (1/3)*Pi, 2); L[1] := simplify(l[1]/exp((2*I)*omega-(1.326880917*10^14*I)*gg*kk))

and it shows


Hello,

Happy New Year!

My problem:

I don't know why algsubs fails in the following case:

restart;
Xw:=2*Pi^2*(sin(w)*cos(5*w)+sin(4*w))/(w*(Pi-2*w)*(2*w+Pi));
algsubs(w=2*Pi*f,Xw);# problem in the denominator. w is not substituted.
subs(w=2*Pi*f,Xw);# subs works correctly
 

(I have Maple 13)

First 1861 1862 1863 1864 1865 1866 1867 Last Page 1863 of 2224