MaplePrimes Questions

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)

(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?

 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 am new to Maplesim and I would like to multiply 2 voltage-time functions ( mixing in time-domain), but I have no succes with the (Mathematical-Operators-) Product component ( I can't connect it to the voltage sources). How can be done this? Thanks for your help in advance.

 

First 2056 2057 2058 2059 2060 2061 2062 Last Page 2058 of 2433