MaplePrimes Questions

I have two lists viz. X:=[a,b,c,d,e,f,g,h,i] of size 9. And I:=[1,2,3]. I want to generate a list of all the possible patterns of size 9 which can be made using 1,2,3. For example a few patterens which the code is to produce, among many others, are as follows: [1,1,1,2,2,2,3,3,3] [1,2,2,1,2,2,1,2,2] [2,3,3,2,3,3,2,3,3] [2,2,2,2,3,3,3,3,3] etc. Your help would be a great great help to me. I need it direly.
Hello,

Here is my problem:

> vec1:=Vector(2): plot(vec1[floor(x)], x = 1 .. 2);
Error, bad index into Vector

The above should give the zero plot, but it gives the error message.

Of course, vec1[floor(x)] gives the correct answer for any specific x. (i.e. vec1[floor(1.5324)] gives 0, which is correct).

I get the same problem when plotting or integrating functions that simliarly depend on Matrices. What's going on?

Sincerely,
Adeel
I'm looking for a method to extract the (unique) functions of a specific variable from a sum of functions, for example from u=sin(x)*sin(th)+sin(x)^2+sin(2x)+sin(th)^2+exp(x)+x i want to extract for x unique functions = {sin(x),sin(2x),exp(x),x} and for th unique functions = {sin(th)}. For a sum of only trigiometric functions, I use indets(u,trig(x)) and indets(u,trig(th)). However, for a sum of general functions I have no clue how to do this. Any help is welcome. Niels.
I had installed Maple 9.0 for linux (SUSE 10.0). When I start it, I see an error message "Connection to Kernel lost". Have someone any advice? Thanks Angela
Hi, How do I calculate Kronecker/tensor products in Maple 10? Regards, Evyn
I am attempting to use document blocks to hide the Maple code for an interactive document and I'm encountering an unbelievably frustrating issue: if I create a new document block and suppress the output of the function calls therein with a colon, when I collapse the document block, the function calls are not hidden at all, but are displayed in a continuous line. If I do not supress the output, once I collapse the block, only the output is visible (which may be desirable except that I am doing things like loading packages, storing plot3d and plot variables, etc., and I DO NOT WANT THE OUTPUT VISIBLE).
I'd like to define a function f(a,b)= product(product(p(a,b,c[i],d[j])^x[ij]*(1-p(a,b,c[i],d[j]))^(1-x[ij]),j=1..n),i=1..n) (The x's are known data, each 0 or 1, the c's and d's are also known.) Is there a way to do this without writing it out long-hand, say using a matrix of the x's and vectors of the c's and d's? Thanks.
I have an array of functions involving x such that array[i] is valid only on the interval x=i..(i+1). I am trying to create a piecewise function that includes all array[i] terms valid in their respective ranges, but I am running into some syntax problems.
Hi! I am new! I can't integrate this... could u help me? (exp(-1/2*(ln(y)-(x*b+2))^2/(sigma^2*(x^2+1)))/(y*sigma*sqrt(2*Pi*(x^2+1))))*(2-1.666666667*x), x=0.6..1.2, y=3.6..4.5
Can any one of you help me to solve the question below? Please... Question: Find non-negative integers solutions that satisfy the following conditions: Given: p,k,h,a,b,c are integers. The conditions are: (1) a+b+c=k*h-h-h*h+1 (2) (p-k+h)*(p-h-1)*(p-1)-(p-k)*(p-2)*(p)=a*(p-1)+b*(p-h-1)+c*(p-k+h) (3) h>=1 (4) h
Hello All!
When using Maple 10 Classic Worksheet, the mouse sensitivity goes up tremendously, making it really annoying to work with. The sensitivity is only increased in the Maple window when it's activated. I only have this problem with Classic Worksheet, but it's the 'version' I use. Is there any workaround for this? Like some sort of registry fix?
I'm using a Logitech Mx500, by the way.
Any help is really appreciated!
Cheers
Hi, I have a very problematic question. I have a Matrix (100 x 100) that contains complex numbers express as symbols. The numbers derive from several operations. I want evaluate the Real part of the complex numbers for successive calculus but the software show a memory problem. How can I do? I have a P4 with 2GB of memory. I use the function: map(Re,matrix); Thanks
Greetings! I plot a 2D standard figure in Maple 10. I select the figure, right-click it and choose "Export as". The file format I want is Encapsulated PostScript files (.eps), which is one of the alternatives. I save the figure as an .eps file in a map. Everything works fine until I import the file in Scientific Word. The figure is imported all right, but has been rotated 90 degrees counter-clockwise. I do not know how to rotate it back. I know there is a package in SW that enables rotating, but I can't get it to work. Is there something I can do in Maple to correct the problem? Is it a common problem for other users and how do you solve it?
Hello, I'm trying to make a wrapper procedure that will launch an external program with some dynamic arguments. To do this I created a proc and used the launch command from the process package. My procedure seems to be syntactically correct, but when I run it all it does is echo the procedure code. Since nothing was working I have created a simplified procedure that simply tries to launch Notepad. Instead of launching notepad it just echos out the source of the procedure: My definition of the procedure RunNotepad: > RunNotepad() := proc() > use process in > launch("notepad.exe");
Hi, It's quite easy to find the eigenvalues of a matrix, but is there a function to find the dominant eigenvalue ?
First 2157 2158 2159 2160 2161 2162 2163 Last Page 2159 of 2195